Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.8.2
-
None
Description
https://doc.qt.io/qt-6/qtest-overview.html
no "tickcounter" but "perf" for CPU cycles
Usage: /usr/bin/coffeemachine [options] [testfunction[:testdata]]... By default, all testfunctions will be run. New-style logging options: -o filename,format : Output results to file in the specified format Use - to output to stdout Valid formats are: txt : Plain text csv : CSV format (suitable for benchmarks) junitxml : XML JUnit document xml : XML document lightxml : A stream of XML tags teamcity : TeamCity format tap : Test Anything Protocol *** Multiple loggers can be specified, but at most one can log to stdout. Old-style logging options: -o filename : Write the output into file -txt : Output results in Plain Text -csv : Output results in a CSV format (suitable for benchmarks) -junitxml : Output results as XML JUnit document -xml : Output results as XML document -lightxml : Output results as stream of XML tags -teamcity : Output results in TeamCity format -tap : Output results in Test Anything Protocol format *** If no output file is specified, stdout is assumed. *** If no output format is specified, -txt is assumed. Test log detail options: -silent : Log failures and fatal errors only -v1 : Log the start of each testfunction -v2 : Log each QVERIFY/QCOMPARE/QTEST (implies -v1) -vs : Log every signal emission and resulting slot invocations *** The -silent and -v1 options only affect plain text output. Testing options: -functions : Returns a list of current testfunctions -datatags : Returns a list of current data tags. A global data tag is preceded by ' __global__ '. -eventdelay ms : Set default delay for mouse and keyboard simulation to ms milliseconds -keydelay ms : Set default delay for keyboard simulation to ms milliseconds -mousedelay ms : Set default delay for mouse simulation to ms milliseconds -maxwarnings n : Sets the maximum amount of messages to output. 0 means unlimited, default: 2000 -nocrashhandler : Disables the crash handler. Useful for debugging crashes. -repeat n : Run the testsuite n times or until the test fails. Useful for finding flaky tests. If negative, the tests are repeated forever. This is intended as a developer tool, and is only supported with the plain text logger. -skipblacklisted : Skip blacklisted tests. Useful for measuring test coverage. -[no]throwonfail : Enables/disables throwing on QCOMPARE()/QVERIFY()/etc. Default: off, unless QTEST_THROW_ON_FAIL is set. -[no]throwonskip : Enables/disables throwing on QSKIP(). Default: off, unless QTEST_THROW_ON_SKIP is set. Benchmarking options: -callgrind : Use callgrind to time benchmarks -perf : Use Linux perf events to time benchmarks -perfcounter name : Use the counter named 'name' -perfcounterlist : Lists the counters available -eventcounter : Counts events received during benchmarks -minimumvalue n : Sets the minimum acceptable measurement value -minimumtotal n : Sets the minimum acceptable total for repeated executions of a test function -iterations n : Sets the number of accumulation iterations. -median n : Sets the number of median iterations. -vb : Print out verbose benchmarking information. -help : This help