forked from rafaelsteil/libcgi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request rafaelsteil#43 from LeSpocky/tests
Remove valgrind tests, let CTest/CDash do that
- Loading branch information
Showing
3 changed files
with
62 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
set(CTEST_PROJECT_NAME "libcgi") | ||
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") | ||
|
||
set(CTEST_SITE "tiffy") | ||
set(CTEST_SOURCE_DIRECTORY "/home/alex/src/libcgi") | ||
set(CTEST_BINARY_DIRECTORY "build/${CTEST_PROJECT_NAME}") | ||
|
||
set(ENV{CFLAGS} "--coverage") | ||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | ||
set(CTEST_USE_LAUNCHERS 1) | ||
|
||
set(CTEST_COVERAGE_COMMAND "gcov") | ||
set(CTEST_MEMORYCHECK_COMMAND "/usr/bin/valgrind") | ||
|
||
#set(CTEST_MEMORYCHECK_TYPE "ThreadSanitizer") | ||
|
||
set(CTEST_DROP_METHOD "http") | ||
set(CTEST_DROP_SITE "localhost") | ||
set(CTEST_DROP_LOCATION "/cdash/submit.php?project=${CTEST_PROJECT_NAME}") | ||
set(CTEST_DROP_SITE_CDASH TRUE) | ||
|
||
#ctest_start("Continuous") | ||
ctest_start("Experimental") | ||
ctest_configure() | ||
ctest_build() | ||
ctest_test() | ||
ctest_coverage() | ||
ctest_memcheck() | ||
#ctest_submit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters