Giter Club home page Giter Club logo

Comments (7)

begeekmyfriend avatar begeekmyfriend commented on June 26, 2024 1

You might check the LCOV_PATH on your host environment.

from bplustree.

fengxiaohu avatar fengxiaohu commented on June 26, 2024

thanks for your reply, I will try your solution

from bplustree.

fengxiaohu avatar fengxiaohu commented on June 26, 2024

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.

begeekmyfriend avatar begeekmyfriend commented on June 26, 2024

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.

fengxiaohu avatar fengxiaohu commented on June 26, 2024

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.

fengxiaohu avatar fengxiaohu commented on June 26, 2024

I need to install lcov in my mac.So the problen is done.
brew install lcov

from bplustree.

begeekmyfriend avatar begeekmyfriend commented on June 26, 2024

Glad you have made it.

from bplustree.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.