Merge pull request #43721 from Xrayez/doctest-no-override

doctest: Do not override command-line options
This commit is contained in:
Rémi Verschelde 2020-11-20 12:35:47 +01:00 committed by GitHub
commit 91dfac244b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -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];
}