Comments (7)
You might check the LCOV_PATH on your host environment.
from bplustree.
thanks for your reply, I will try your solution
from bplustree.
I see usage in Codecoverage.cmake,is that work in Macbook m1
# USAGE:
# 0. (Mac only) If you use Xcode 5.1 make sure to patch geninfo as described here:
# http://stackoverflow.com/a/22404544/80480
#
# 1. Copy this file into your cmake modules path.
#
# 2. Add the following line to your CMakeLists.txt:
# INCLUDE(CodeCoverage)
#
# 3. Set compiler flags to turn off optimization and enable coverage:
# SET(CMAKE_CXX_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage")
# SET(CMAKE_C_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage")
#
# 3. Use the function SETUP_TARGET_FOR_COVERAGE to create a custom make target
# which runs your test executable and produces a lcov code coverage report:
# Example:
# SETUP_TARGET_FOR_COVERAGE(
# my_coverage_target # Name for custom target.
# test_driver # Name of the test driver executable that runs the tests.
# # NOTE! This should always have a ZERO as exit code
# # otherwise the coverage generation will not complete.
# coverage # Name of output directory.
# )
#
# 4. Build a Debug build:
# cmake -DCMAKE_BUILD_TYPE=Debug ..
# make
# make my_coverage_target
from bplustree.
I did not develop this project on MacOS and I haven't any macbook at hand. So I am afraid I could not help you with this problem. Sorr about it.
from bplustree.
I did not develop this project on MacOS and I haven't any macbook at hand. So I am afraid I could not help you with this problem. Sorr about it.
It is OK. I am learning CMU15445,and your implemention of b+ tree really help me a lot.
I will find some ways to solve it and summarze solution.
from bplustree.
I need to install lcov in my mac.So the problen is done.
brew install lcov
from bplustree.
Glad you have made it.
from bplustree.
Related Issues (15)
- a segment fault HOT 1
- 执行./coverage_build.sh 提示 node_seek: Assertion `len == _block_size' failed. HOT 21
- 支持单用户写入,多用户查询吗? HOT 8
- in-memory 分支 bplus_tree_get_range 有bug HOT 1
- in-memory 版本在析构树时内存泄露 HOT 2
- add some code annotation in head file(bplustree.h) HOT 1
- 分裂策略是否有问题? HOT 3
- Is there any way to restore the transactions from the database when the program is broken? HOT 2
- It seems the non_leaf_split_right1 function has a bug. HOT 1
- 请问value可以自定义类型吗? HOT 6
- 请问可以直接在C++里使用这个代码吗? HOT 3
- 请教一个问题bplus_tree_insert内部函数的实现 HOT 12
- 执行demo_build.sh 提示 statement may fall through HOT 2
- how to do range search? help wanted HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bplustree.