Skip to content

Commit

Permalink
fix valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Jul 2, 2015
1 parent f123808 commit eaf0a01
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ script:
############################################################################
- make tests -k -j2
- make examples -k -j2 &>/dev/null
- make check -k VERBOSE=1
- if [[ "${Valgrind}" != "true" ]]; then make check -k; fi
- if [[ "${Valgrind}" == "true" ]]; then ctest -VV -D ExperimentalMemCheck; fi

after_success:
############################################################################
Expand Down
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,14 @@ find_package(Doxygen)

# Valgrid
if (PROJECT_NAME_ENABLE_VALGRIND)
find_program(MEMORYCHECK_COMMAND valgrind REQUIRED)
find_program(MEMORYCHECK_COMMAND valgrind)
if(MEMORYCHECK_COMMAND-NOTFOUND)
message(FATAL_ERROR "valgrind not found")
endif()
set(MEMORYCHECK_COMMAND_OPTIONS "--trace-children=yes --leak-check=full")
include(Dart)
endif()


#find_package(Boost)

# find_package(Meta)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ get the last version from their repository:
- [Eigen3][],
- [Eggs.Variant][].
- [FIT][],
- [folly][],
- [Hana][],
- [json][],
- [meta][],
Expand Down Expand Up @@ -144,3 +145,4 @@ get the last version from their repository:
[ASIO]: https://think-async.com/
[docopt]: https://github.com/docopt/docopt.cpp
[json]: https://github.com/nlohmann/json
[folly]: https://github.com/facebook/folly

0 comments on commit eaf0a01

Please sign in to comment.