summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-11-20 12:35:47 +0100
committerGitHub <noreply@github.com>2020-11-20 12:35:47 +0100
commit91dfac244bfa68982a0752f42b6d4860bf807ade (patch)
tree8595eac3416044de96890644680a9897385d236c
parent68ddab547b6c67d6102297d83ef71487050e85e0 (diff)
parentdc980e5f96a1912d1f20ffc28555bec3e0eff420 (diff)
Merge pull request #43721 from Xrayez/doctest-no-override
doctest: Do not override command-line options
-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];
}