summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/badxml
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-02-06 12:07:04 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-02-06 23:43:05 +0100
commit8237e39f5dfa5e6e43aca7d7b9107c666d40de7b (patch)
treedd490b65d6ba1567cede59822ee5f1e0cda9f1c8 /tests/auto/testlib/selftests/badxml
parentdbdb3cbc907fed4055adaa848dd5e36fb67b2263 (diff)
testlib: Move subtest argument handling to individual tests
The test orchestrator shouldn't have to deal with the individual options needed for each test. Change-Id: I78bbf4850cc649e625bd08a7aedf02267ba1314d Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/badxml')
-rw-r--r--tests/auto/testlib/selftests/badxml/tst_badxml.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/testlib/selftests/badxml/tst_badxml.cpp b/tests/auto/testlib/selftests/badxml/tst_badxml.cpp
index 164dc7eaa9..d82765311b 100644
--- a/tests/auto/testlib/selftests/badxml/tst_badxml.cpp
+++ b/tests/auto/testlib/selftests/badxml/tst_badxml.cpp
@@ -194,6 +194,9 @@ int main(int argc, char** argv)
args << argv[i];
}
}
+
+ args << "-eventcounter";
+
/*
We just want testlib to output a benchmark result, we don't actually care about the value,
so just do one iteration to save time.