Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-08-04 04:35:14 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-08-04 04:35:14 +0300
commitf4bf8822e5c611241d07a968f5eb9e49b3f6ffa0 (patch)
treee8f90cdad3310173ff9d756463fc9538486403d4 /.ci.cmake
parent54e629b04d5601c3484113c5701d6ba34c787cba (diff)
Try yet again ci script
Diffstat (limited to '.ci.cmake')
-rw-r--r--.ci.cmake17
1 files changed, 11 insertions, 6 deletions
diff --git a/.ci.cmake b/.ci.cmake
index 15a34bef..6f4cac76 100644
--- a/.ci.cmake
+++ b/.ci.cmake
@@ -13,11 +13,9 @@ set(CTEST_GIT_COMMAND "${GIT_EXECUTABLE}")
ctest_start("Experimental")
ctest_update()
ctest_configure()
+ctest_build(TARGET _dl)
ctest_build(TARGET _sl)
-ctest_build(TARGET _sl-asan)
-ctest_build(TARGET _sl-ubsan)
-ctest_test(RETURN_VALUE retval INCLUDE "afio_sl(-asan|-ubsan)?")
-merge_junit_results_into_ctest_xml()
+ctest_test(RETURN_VALUE retval EXCLUDE "afio_hl")
if(WIN32)
if(EXISTS prebuilt/bin/Release/afio_dl-2.0-Windows-x64-Release.dll)
checked_execute_process("Tarring up binaries"
@@ -49,10 +47,17 @@ else()
get_filename_component(toupload afio_v2_binaries_linux64.tgz ABSOLUTE)
endif()
endif()
+ctest_build(TARGET _sl-asan)
+set(CTEST_CONFIGURATION_TYPE "asan")
+ctest_test(RETURN_VALUE retval2 INCLUDE "afio_sl")
+ctest_build(TARGET _sl-ubsan)
+set(CTEST_CONFIGURATION_TYPE "ubsan")
+ctest_test(RETURN_VALUE retval3 INCLUDE "afio_sl")
+merge_junit_results_into_ctest_xml()
if(EXISTS "${toupload}")
ctest_upload(FILES "${toupload}")
endif()
ctest_submit()
-if(NOT retval EQUAL 0)
- message(FATAL_ERROR "FATAL: Running tests exited with ${retval}")
+if(NOT retval EQUAL 0 OR NOT retval2 EQUAL 0 OR NOT retval3 EQUAL 0)
+ message(FATAL_ERROR "FATAL: Running tests exited with ${retval} ${retval2} ${retval3}")
endif()