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

github.com/onqtam/doctest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoronqtam <vik.kirilov@gmail.com>2017-05-03 06:29:47 +0300
committeronqtam <vik.kirilov@gmail.com>2017-05-16 00:22:23 +0300
commitaec53d2830eee32aca09748b430c8d79a6cccef1 (patch)
tree843839339639f58ecd76febc34a03e547ba7bb7d /examples
parentc4efc482cde6cabfeb9194774a32f7b2faadbd63 (diff)
enabled all builds again
Diffstat (limited to 'examples')
-rw-r--r--examples/all_features/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/all_features/CMakeLists.txt b/examples/all_features/CMakeLists.txt
index 7c2be054..53cc0158 100644
--- a/examples/all_features/CMakeLists.txt
+++ b/examples/all_features/CMakeLists.txt
@@ -54,7 +54,9 @@ doctest_add_test(NAME order_3 ${common_args} -ob=rand -sfe=*)
## VARIATION OF THE BUILD WITH DOCTEST DISABLED - SHOULD STILL COMPILE
################################################################################
-return() # temp hack
+if(DEFINED ENV{CODE_COVERAGE})
+ return() # do not continue with the disabled example
+endif()
doctest_add_executable(disabled ${files})
target_compile_definitions(disabled PRIVATE DOCTEST_CONFIG_DISABLE)