qt5base-lts/tests/auto
Jason McDonald eb52d78e90 testlib: Report one test result per benchmark test.
Prior to this commit, a benchmark test could report 0..n passes and 0..m
fails or skips, where n is the number of accumulation iterations used to
collect benchmark data and m is the number of times the test function
was invoked.  Depending on the type of benchmark measurer being used,
this could result in a very large volume of test output and inconsistent
pass, fail and skip counts between test runs.

This commit changes the behaviour so that each benchmark test reports
one pass, fail or skip, regardless of the number of iterations used to
collect benchmark data.

This commit also prevents benchmark data being reported in the test
output if the benchmark test failed or skipped, as any benchmark data is
of dubious value in such cases.

The latter change in behaviour requires a minor modification to the
badxml selftest, which now tests quoting of literal strings in xml test
output for both passing and failing benchmarks.

Finally, this commit also adds a new selftest specifically for verifying
correct behaviour for benchmarks that fail or skip.

Task-number: QTBUG-24313
Change-Id: I3426dc659a7511b62fd183a031c7235bc753f497
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2012-02-20 08:05:58 +01:00
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Complete split of QtConcurrent. 2012-02-06 16:48:22 +01:00
corelib Fixed qobject unittest to work from installation directory 2012-02-20 03:27:02 +01:00
dbus Eliminate duplicate data row names in dbus, tools and xml autotests. 2012-02-16 02:00:52 +01:00
gui Fix qclipboard autotest on Windows. 2012-02-18 00:00:21 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Fix handling of urls containing username/password in QNetworkAccessManager 2012-02-17 15:04:07 +01:00
opengl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
other Ensure that Qt public headers compile with strict flags 2012-02-17 16:42:28 +01:00
sql QSqlTableModel::commitAll(): replace row removal hack 2012-02-15 02:36:21 +01:00
testlib testlib: Report one test result per benchmark test. 2012-02-20 08:05:58 +01:00
tools Eliminate duplicate data row names in dbus, tools and xml autotests. 2012-02-16 02:00:52 +01:00
widgets Make 'nmake check' succeed for widgets tests 2012-02-17 14:08:19 +01:00
xml Eliminate duplicate data row names in dbus, tools and xml autotests. 2012-02-16 02:00:52 +01:00
auto.pro Disable 'check' target generation for network autotests for Windows. 2012-02-17 11:48:08 +01:00
network-settings.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00