summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-11-20 13:21:45 +0200
committerAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-11-20 13:21:45 +0200
commitdc980e5f96a1912d1f20ffc28555bec3e0eff420 (patch)
treeafbd920471e11cb85935a1dd5859dc7303c9e897 /tests
parent9a3d3df0e2b98214cc208542834a51fbc16f6894 (diff)
doctest: Do not override command-line options
Those options were likely copy-pasted from documentation examples. This change also allows to break in the debugger by default when assertions fail, and this can be configured via command-line interface.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_main.cpp b/tests/test_main.cpp
index cd7f1d3eac..db6eba1120 100644
--- a/tests/test_main.cpp
+++ b/tests/test_main.cpp
@@ -112,10 +112,6 @@ int test_main(int argc, char *argv[]) {
test_context.applyCommandLine(test_args.size(), doctest_args);
- test_context.setOption("order-by", "name");
- test_context.setOption("abort-after", 5);
- test_context.setOption("no-breaks", true);
-
for (int x = 0; x < test_args.size(); x++) {
delete[] doctest_args[x];
}