summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/disabled/main.cpp2
-rw-r--r--examples/disabled/test_output/disabled.txt1
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/disabled/main.cpp b/examples/disabled/main.cpp
index 139ff3d..2964a2a 100644
--- a/examples/disabled/main.cpp
+++ b/examples/disabled/main.cpp
@@ -6,6 +6,8 @@
int main(int argc, char** argv) {
doctest::Context context; // initialize
+ printf("no test cases should be ran\n");
+
// defaults
context.addFilter("test-case-exclude", "*math*"); // exclude test cases with "math" in the name
context.setOption("no-breaks", true); // don't break in the debugger when assertions fail
diff --git a/examples/disabled/test_output/disabled.txt b/examples/disabled/test_output/disabled.txt
index e69de29..9e93ab6 100644
--- a/examples/disabled/test_output/disabled.txt
+++ b/examples/disabled/test_output/disabled.txt
@@ -0,0 +1 @@
+no test cases should be ran