version: Fixed reported version
This commit is contained in:
parent
44849f9ea4
commit
fcc3d92d5d
15 changed files with 74 additions and 74 deletions
|
@ -2,7 +2,7 @@
|
|||
# Redistribution and use of this file is allowed according to the terms of the MIT license.
|
||||
# For details see the LICENSE file distributed with Criterion.
|
||||
|
||||
set (PROJECT_VERSION "2.2.1")
|
||||
set (PROJECT_VERSION "2.2.2")
|
||||
set (PROJECT_SOVERSION 3)
|
||||
set (PROJECT_SONAME 3.0.0)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
[](https://ci.appveyor.com/project/Snaipe/Criterion/branch/bleeding)
|
||||
[](https://codecov.io/github/Snaipe/Criterion?branch=bleeding)
|
||||
[](https://github.com/Snaipe/Criterion/blob/master/LICENSE)
|
||||
[](https://github.com/Snaipe/Criterion/releases)
|
||||
[](https://github.com/Snaipe/Criterion/releases)
|
||||
|
||||
A dead-simple, yet extensible, C and C++ unit testing framework.
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
Checking the version
|
||||
|
||||
$ simple.c.bin --version
|
||||
Tests compiled with Criterion v2.2.1
|
||||
Tests compiled with Criterion v2.2.2
|
||||
|
||||
$ simple.cc.bin --version
|
||||
Tests compiled with Criterion v2.2.1
|
||||
Tests compiled with Criterion v2.2.2
|
||||
|
||||
Running the simplest test
|
||||
|
||||
|
@ -21,7 +21,7 @@ Running the simplest test
|
|||
Running with verbose output
|
||||
|
||||
$ simple.c.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1msimple.c\x1b[0m:\x1b[0;31m4\x1b[0m: Assertion failed: The expression 0 is false. (esc)
|
||||
|
@ -31,7 +31,7 @@ Running with verbose output
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m2\x1b[0;1m | Passing: \x1b[0;32m1\x1b[0;1m | Failing: \x1b[0;31m1\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.cc.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1msimple.cc\x1b[0m:\x1b[0;31m4\x1b[0m: Assertion failed: The expression 0 is false. (esc)
|
||||
|
@ -67,7 +67,7 @@ Testing the fixtures
|
|||
Testing descriptions
|
||||
|
||||
$ description.c.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Just a failing test (esc)
|
||||
|
@ -78,7 +78,7 @@ Testing descriptions
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m1\x1b[0;1m | Passing: \x1b[0;32m0\x1b[0;1m | Failing: \x1b[0;31m1\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ description.cc.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Just a failing test (esc)
|
||||
|
|
|
@ -15,7 +15,7 @@ Simple crashes & signal testing
|
|||
Simple crashes & signal testing (verbose)
|
||||
|
||||
$ signal.c.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m3\x1b[0m tests from \x1b[0;33msimple\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] simple::caught (esc)
|
||||
\[\\x1b\[0;32mPASS\\x1b\[0m\] simple::caught: \(\d\.\d\ds\) \(esc\) (re)
|
||||
|
@ -27,7 +27,7 @@ Simple crashes & signal testing (verbose)
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m3\x1b[0;1m | Passing: \x1b[0;32m1\x1b[0;1m | Failing: \x1b[0;31m2\x1b[0;1m | Crashing: \x1b[0;31m1\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ signal.cc.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m3\x1b[0m tests from \x1b[0;33msimple\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] simple::caught (esc)
|
||||
\[\\x1b\[0;32mPASS\\x1b\[0m\] simple::caught: \(\d\.\d\ds\) \(esc\) (re)
|
||||
|
@ -53,7 +53,7 @@ Crashes outside of the test
|
|||
Crashes outside of the test (verbose)
|
||||
|
||||
$ other-crashes.c.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::setup_crash (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1mWarning! The test `misc::setup_crash` crashed during its setup or teardown.\x1b[0m (esc)
|
||||
|
@ -63,7 +63,7 @@ Crashes outside of the test (verbose)
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m2\x1b[0;1m | Passing: \x1b[0;32m1\x1b[0;1m | Failing: \x1b[0;31m1\x1b[0;1m | Crashing: \x1b[0;31m1\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ other-crashes.cc.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::setup_crash (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1mWarning! The test `misc::setup_crash` crashed during its setup or teardown.\x1b[0m (esc)
|
||||
|
@ -90,7 +90,7 @@ C++ Exceptions should be handled
|
|||
C++ Exceptions should be handled (verbose)
|
||||
|
||||
$ exception.cc.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m6\x1b[0m tests from \x1b[0;33mexception\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] exception::raise_any (esc)
|
||||
[\x1b[0;34m----\x1b[0m] exception::raise_any: Caught some unexpected exception during the test execution. (esc)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Testing tests that call exit()
|
||||
|
||||
$ exit.c.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m3\x1b[0m tests from \x1b[0;33mexit\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] exit::expected_exit (esc)
|
||||
\[\\x1b\[0;32mPASS\\x1b\[0m\] exit::expected_exit: \(\d\.\d\ds\) \(esc\) (re)
|
||||
|
@ -18,7 +18,7 @@ Testing tests that call exit()
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m5\x1b[0;1m | Passing: \x1b[0;32m3\x1b[0;1m | Failing: \x1b[0;31m2\x1b[0;1m | Crashing: \x1b[0;31m1\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ exit.cc.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m3\x1b[0m tests from \x1b[0;33mexit\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] exit::expected_exit (esc)
|
||||
\[\\x1b\[0;32mPASS\\x1b\[0m\] exit::expected_exit: \(\d\.\d\ds\) \(esc\) (re)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Testing --fail-fast
|
||||
|
||||
$ simple.c.bin --fail-fast --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1msimple.c\x1b[0m:\x1b[0;31m4\x1b[0m: Assertion failed: The expression 0 is false. (esc)
|
||||
|
@ -12,7 +12,7 @@ Testing --fail-fast
|
|||
Testing CRITERION_FAIL_FAST
|
||||
|
||||
$ CRITERION_FAIL_FAST=1 simple.c.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1msimple.c\x1b[0m:\x1b[0;31m4\x1b[0m: Assertion failed: The expression 0 is false. (esc)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Display the help message
|
||||
|
||||
$ simple.c.bin --help
|
||||
Tests compiled with Criterion v2.2.1
|
||||
Tests compiled with Criterion v2.2.2
|
||||
|
||||
usage: .*simple\.c\.bin(\.exe)? OPTIONS (re)
|
||||
options:
|
||||
|
@ -25,7 +25,7 @@ Display the help message
|
|||
-OP:F or --output=PROVIDER=FILE: write test report to FILE using the specified provider
|
||||
|
||||
$ simple.cc.bin --help
|
||||
Tests compiled with Criterion v2.2.1
|
||||
Tests compiled with Criterion v2.2.2
|
||||
|
||||
usage: .*simple\.cc\.bin(\.exe)? OPTIONS (re)
|
||||
options:
|
||||
|
|
|
@ -2,7 +2,7 @@ Testing multiple samples with --json
|
|||
|
||||
$ simple.c.bin --json
|
||||
{
|
||||
"id": "Criterion v2.2.1",
|
||||
"id": "Criterion v2.2.2",
|
||||
"passed": 1,
|
||||
"failed": 1,
|
||||
"errored": 0,
|
||||
|
@ -35,7 +35,7 @@ Testing multiple samples with --json
|
|||
|
||||
$ signal.c.bin --json
|
||||
{
|
||||
"id": "Criterion v2.2.1",
|
||||
"id": "Criterion v2.2.2",
|
||||
"passed": 1,
|
||||
"failed": 2,
|
||||
"errored": 1,
|
||||
|
@ -74,7 +74,7 @@ Testing multiple samples with --json
|
|||
|
||||
$ asserts.c.bin --json
|
||||
{
|
||||
"id": "Criterion v2.2.1",
|
||||
"id": "Criterion v2.2.2",
|
||||
"passed": 4,
|
||||
"failed": 2,
|
||||
"errored": 0,
|
||||
|
@ -132,7 +132,7 @@ Testing multiple samples with --json
|
|||
|
||||
$ more-suites.c.bin --json
|
||||
{
|
||||
"id": "Criterion v2.2.1",
|
||||
"id": "Criterion v2.2.2",
|
||||
"passed": 2,
|
||||
"failed": 0,
|
||||
"errored": 0,
|
||||
|
@ -186,7 +186,7 @@ Testing multiple samples with --json
|
|||
|
||||
$ long-messages.c.bin --json
|
||||
{
|
||||
"id": "Criterion v2.2.1",
|
||||
"id": "Criterion v2.2.2",
|
||||
"passed": 0,
|
||||
"failed": 1,
|
||||
"errored": 0,
|
||||
|
@ -217,7 +217,7 @@ Testing multiple samples with --json
|
|||
|
||||
$ description.c.bin --json
|
||||
{
|
||||
"id": "Criterion v2.2.1",
|
||||
"id": "Criterion v2.2.2",
|
||||
"passed": 0,
|
||||
"failed": 1,
|
||||
"errored": 0,
|
||||
|
@ -253,7 +253,7 @@ Testing --output=json
|
|||
|
||||
$ simple.c.bin --output=json:-
|
||||
{
|
||||
"id": "Criterion v2.2.1",
|
||||
"id": "Criterion v2.2.2",
|
||||
"passed": 1,
|
||||
"failed": 1,
|
||||
"errored": 0,
|
||||
|
@ -288,7 +288,7 @@ Testing CRITERION_OUTPUTS
|
|||
|
||||
$ CRITERION_OUTPUTS=json:- simple.c.bin
|
||||
{
|
||||
"id": "Criterion v2.2.1",
|
||||
"id": "Criterion v2.2.2",
|
||||
"passed": 1,
|
||||
"failed": 1,
|
||||
"errored": 0,
|
||||
|
@ -321,7 +321,7 @@ Testing CRITERION_OUTPUTS
|
|||
|
||||
$ skip.c.bin --json
|
||||
{
|
||||
"id": "Criterion v2.2.1",
|
||||
"id": "Criterion v2.2.2",
|
||||
"passed": 0,
|
||||
"failed": 0,
|
||||
"errored": 0,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Testing log messages
|
||||
|
||||
$ log.c.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mlogging\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] logging::format (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Log messages are printf-formatted strings. (esc)
|
||||
|
@ -14,7 +14,7 @@ Testing log messages
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m2\x1b[0;1m | Passing: \x1b[0;32m2\x1b[0;1m | Failing: \x1b[0m0\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ log.cc.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m1\x1b[0m test from \x1b[0;33mlogging\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] logging::stream (esc)
|
||||
[\x1b[0;34m----\x1b[0m] This is an informational message. They are not displayed by default. (esc)
|
||||
|
|
|
@ -45,7 +45,7 @@ Using parameterized tests
|
|||
Using parameterized tests (verbose)
|
||||
|
||||
$ parameterized.c.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m3\x1b[0m tests from \x1b[0;33mparams\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] params::cleanup (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1mparameterized.c\x1b[0m:\x1b[0;31m78\x1b[0m: Assertion failed: Parameters: (1, 2.000000) (esc)
|
||||
|
@ -77,7 +77,7 @@ Using parameterized tests (verbose)
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m9\x1b[0;1m | Passing: \x1b[0;32m0\x1b[0;1m | Failing: \x1b[0;31m9\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ parameterized.cc.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m3\x1b[0m tests from \x1b[0;33mparams\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] params::cleanup (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1mparameterized.cc\x1b[0m:\x1b[0;31m71\x1b[0m: Assertion failed: Parameters: (1, 2.000000) (esc)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Testing normal globs
|
||||
|
||||
$ simple.c.bin --filter='*/passing' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::passing (esc)
|
||||
|
@ -9,7 +9,7 @@ Testing normal globs
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m1\x1b[0;1m | Passing: \x1b[0;32m1\x1b[0;1m | Failing: \x1b[0m0\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.c.bin --filter='*/pa?sing' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::passing (esc)
|
||||
|
@ -17,7 +17,7 @@ Testing normal globs
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m1\x1b[0;1m | Passing: \x1b[0;32m1\x1b[0;1m | Failing: \x1b[0m0\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.c.bin --filter='misc/passing?' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::passing (esc)
|
||||
|
@ -25,7 +25,7 @@ Testing normal globs
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m1\x1b[0;1m | Passing: \x1b[0;32m1\x1b[0;1m | Failing: \x1b[0m0\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.c.bin --filter='misc/*' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1msimple.c\x1b[0m:\x1b[0;31m4\x1b[0m: Assertion failed: The expression 0 is false. (esc)
|
||||
|
@ -40,7 +40,7 @@ Testing normal globs
|
|||
Testing character classes
|
||||
|
||||
$ simple.c.bin --filter='misc/[pf]assing' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::passing (esc)
|
||||
|
@ -48,7 +48,7 @@ Testing character classes
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m1\x1b[0;1m | Passing: \x1b[0;32m1\x1b[0;1m | Failing: \x1b[0m0\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.c.bin --filter='misc/[p-s]assing' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::passing (esc)
|
||||
|
@ -56,14 +56,14 @@ Testing character classes
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m1\x1b[0;1m | Passing: \x1b[0;32m1\x1b[0;1m | Failing: \x1b[0m0\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.c.bin --filter='misc/[!f]ailing' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::passing: Test is disabled (esc)
|
||||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m0\x1b[0;1m | Passing: \x1b[0;32m0\x1b[0;1m | Failing: \x1b[0m0\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.c.bin --filter='misc/[p-f]ailing' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1msimple.c\x1b[0m:\x1b[0;31m4\x1b[0m: Assertion failed: The expression 0 is false. (esc)
|
||||
|
@ -72,7 +72,7 @@ Testing character classes
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m1\x1b[0;1m | Passing: \x1b[0;32m0\x1b[0;1m | Failing: \x1b[0;31m1\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.c.bin --filter='misc/[!azerty]assing' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::passing (esc)
|
||||
|
@ -86,7 +86,7 @@ Testing character classes
|
|||
Testing extended globs
|
||||
|
||||
$ simple.c.bin --filter='!(*/passing)' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1msimple.c\x1b[0m:\x1b[0;31m4\x1b[0m: Assertion failed: The expression 0 is false. (esc)
|
||||
|
@ -95,7 +95,7 @@ Testing extended globs
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m1\x1b[0;1m | Passing: \x1b[0;32m0\x1b[0;1m | Failing: \x1b[0;31m1\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.c.bin --filter='@(misc)/passing' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::passing (esc)
|
||||
|
@ -104,7 +104,7 @@ Testing extended globs
|
|||
|
||||
|
||||
$ simple.c.bin --filter='*(misc)/pa+(s)ing' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::passing (esc)
|
||||
|
@ -113,7 +113,7 @@ Testing extended globs
|
|||
|
||||
|
||||
$ simple.c.bin --filter='misc/[pf]a@(ss|il)ing' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1msimple.c\x1b[0m:\x1b[0;31m4\x1b[0m: Assertion failed: The expression 0 is false. (esc)
|
||||
|
@ -124,7 +124,7 @@ Testing extended globs
|
|||
|
||||
|
||||
$ simple.c.bin --filter='!(*/failing|*/fail)' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::passing (esc)
|
||||
|
@ -133,7 +133,7 @@ Testing extended globs
|
|||
|
||||
|
||||
$ simple.c.bin --filter='misc/?(passing)' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::passing (esc)
|
||||
|
@ -141,7 +141,7 @@ Testing extended globs
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m1\x1b[0;1m | Passing: \x1b[0;32m1\x1b[0;1m | Failing: \x1b[0m0\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.c.bin --filter='misc/?(passing|failing)' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1msimple.c\x1b[0m:\x1b[0;31m4\x1b[0m: Assertion failed: The expression 0 is false. (esc)
|
||||
|
@ -151,7 +151,7 @@ Testing extended globs
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m2\x1b[0;1m | Passing: \x1b[0;32m1\x1b[0;1m | Failing: \x1b[0;31m1\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.c.bin --filter='misc/*!(passing)' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::failing (esc)
|
||||
[\x1b[0;34m----\x1b[0m] \x1b[0;1msimple.c\x1b[0m:\x1b[0;31m4\x1b[0m: Assertion failed: The expression 0 is false. (esc)
|
||||
|
@ -167,21 +167,21 @@ Testing extended globs
|
|||
Testing nested extglob patterns
|
||||
|
||||
$ simple.c.bin --filter='@(+(nest)ed)' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::passing: Test is disabled (esc)
|
||||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m0\x1b[0;1m | Passing: \x1b[0;32m0\x1b[0;1m | Failing: \x1b[0m0\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.c.bin --filter='?(*(a|b))' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::passing: Test is disabled (esc)
|
||||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m0\x1b[0;1m | Passing: \x1b[0;32m0\x1b[0;1m | Failing: \x1b[0m0\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ simple.c.bin --filter='misc/pa@(s|*(s))ing' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::passing (esc)
|
||||
|
@ -225,7 +225,7 @@ Testing special char escaping
|
|||
[3]
|
||||
|
||||
$ simple.c.bin --filter='\!escaped' --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::failing: Test is disabled (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::passing: Test is disabled (esc)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Testing skipping
|
||||
|
||||
$ skip.c.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m2\x1b[0m tests from \x1b[0;33mmisc\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] misc::message (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] misc::message: Skips may take printf-like messages (esc)
|
||||
|
|
|
@ -23,7 +23,7 @@ Listing tests in multiple suites
|
|||
Running the tests with verbose output
|
||||
|
||||
$ suites.c.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m1\x1b[0m test from \x1b[0;33mfirst_suite\x1b[0m: (esc)
|
||||
[\x1b[0;34mRUN \x1b[0m] first_suite::test (esc)
|
||||
\[\\x1b\[0;32mPASS\\x1b\[0m\] first_suite::test: \(\d\.\d\ds\) \(esc\) (re)
|
||||
|
@ -33,7 +33,7 @@ Running the tests with verbose output
|
|||
[\x1b[0;34m====\x1b[0m] \x1b[0;1mSynthesis: Tested: \x1b[0;34m2\x1b[0;1m | Passing: \x1b[0;32m2\x1b[0;1m | Failing: \x1b[0m0\x1b[0;1m | Crashing: \x1b[0m0\x1b[0;1m \x1b[0m (esc)
|
||||
|
||||
$ more-suites.c.bin --verbose
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.1 (esc)
|
||||
[\x1b[0;34m----\x1b[0m] Criterion v2.2.2 (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m1\x1b[0m test from \x1b[0;33mdisabled\x1b[0m: (esc)
|
||||
[\x1b[0;33mSKIP\x1b[0m] disabled::test: Test is disabled (esc)
|
||||
[\x1b[0;34m====\x1b[0m] Running \x1b[0;34m1\x1b[0m test from \x1b[0;33msuite1\x1b[0m: (esc)
|
||||
|
|
|
@ -3,7 +3,7 @@ Testing multiple samples with --tap
|
|||
$ simple.c.bin --tap
|
||||
TAP version 13
|
||||
1..2
|
||||
# Criterion v2.2.1
|
||||
# Criterion v2.2.2
|
||||
|
||||
# Running 2 tests from misc
|
||||
ok - misc::passing \(\d\.\d\ds\) (re)
|
||||
|
@ -13,7 +13,7 @@ Testing multiple samples with --tap
|
|||
$ signal.c.bin --tap
|
||||
TAP version 13
|
||||
1..3
|
||||
# Criterion v2.2.1
|
||||
# Criterion v2.2.2
|
||||
|
||||
# Running 3 tests from simple
|
||||
not ok - simple::wrong_signal \(\d\.\d\ds\) (re)
|
||||
|
@ -23,7 +23,7 @@ Testing multiple samples with --tap
|
|||
$ asserts.c.bin --tap
|
||||
TAP version 13
|
||||
1..6
|
||||
# Criterion v2.2.1
|
||||
# Criterion v2.2.2
|
||||
|
||||
# Running 6 tests from asserts
|
||||
ok - asserts::string \(\d\.\d\ds\) (re)
|
||||
|
@ -40,7 +40,7 @@ Testing multiple samples with --tap
|
|||
$ more-suites.c.bin --tap
|
||||
TAP version 13
|
||||
1..3
|
||||
# Criterion v2.2.1
|
||||
# Criterion v2.2.2
|
||||
|
||||
# Running 1 tests from suite2
|
||||
ok - suite2::test \(\d\.\d\ds\) (re)
|
||||
|
@ -54,7 +54,7 @@ Testing multiple samples with --tap
|
|||
$ long-messages.c.bin --tap
|
||||
TAP version 13
|
||||
1..1
|
||||
# Criterion v2.2.1
|
||||
# Criterion v2.2.2
|
||||
|
||||
# Running 1 tests from sample
|
||||
not ok - sample::long_msg \(\d\.\d\ds\) (re)
|
||||
|
@ -66,7 +66,7 @@ Testing multiple samples with --tap
|
|||
$ description.c.bin --tap
|
||||
TAP version 13
|
||||
1..2
|
||||
# Criterion v2.2.1
|
||||
# Criterion v2.2.2
|
||||
|
||||
# Running 2 tests from misc
|
||||
ok - misc::skipped This one is skipped # SKIP test was skipped
|
||||
|
@ -78,7 +78,7 @@ Testing --output=tap
|
|||
$ simple.c.bin --output=tap:-
|
||||
TAP version 13
|
||||
1..2
|
||||
# Criterion v2.2.1
|
||||
# Criterion v2.2.2
|
||||
|
||||
# Running 2 tests from misc
|
||||
ok - misc::passing \(\d\.\d\ds\) (re)
|
||||
|
@ -90,7 +90,7 @@ Testing CRITERION_OUTPUTS
|
|||
$ CRITERION_OUTPUTS=tap:- simple.c.bin
|
||||
TAP version 13
|
||||
1..2
|
||||
# Criterion v2.2.1
|
||||
# Criterion v2.2.2
|
||||
|
||||
# Running 2 tests from misc
|
||||
ok - misc::passing \(\d\.\d\ds\) (re)
|
||||
|
@ -102,7 +102,7 @@ Testing CRITERION_OUTPUTS
|
|||
$ skip.c.bin --tap
|
||||
TAP version 13
|
||||
1..2
|
||||
# Criterion v2.2.1
|
||||
# Criterion v2.2.2
|
||||
|
||||
# Running 2 tests from misc
|
||||
ok - misc::skipping # SKIP test was skipped
|
||||
|
|
|
@ -2,7 +2,7 @@ Testing multiple samples with --xml
|
|||
|
||||
$ simple.c.bin --xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Tests compiled with Criterion v2.2.1 -->
|
||||
<!-- Tests compiled with Criterion v2.2.2 -->
|
||||
<testsuites name="Criterion Tests" tests="2" failures="1" errors="0" disabled="0">
|
||||
<testsuite name="misc" tests="2" failures="1" errors="0" disabled="0" skipped="0" time="0.000">
|
||||
<testcase name="passing" assertions="1" status="PASSED" time="0.000">
|
||||
|
@ -15,7 +15,7 @@ Testing multiple samples with --xml
|
|||
|
||||
$ signal.c.bin --xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Tests compiled with Criterion v2.2.1 -->
|
||||
<!-- Tests compiled with Criterion v2.2.2 -->
|
||||
<testsuites name="Criterion Tests" tests="3" failures="2" errors="1" disabled="0">
|
||||
<testsuite name="simple" tests="3" failures="2" errors="1" disabled="0" skipped="0" time="0.000">
|
||||
<testcase name="wrong_signal" assertions="0" status="FAILED" time="0.000">
|
||||
|
@ -30,7 +30,7 @@ Testing multiple samples with --xml
|
|||
|
||||
$ asserts.c.bin --xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Tests compiled with Criterion v2.2.1 -->
|
||||
<!-- Tests compiled with Criterion v2.2.2 -->
|
||||
<testsuites name="Criterion Tests" tests="6" failures="2" errors="0" disabled="0">
|
||||
<testsuite name="asserts" tests="6" failures="2" errors="0" disabled="0" skipped="0" time="0.000">
|
||||
<testcase name="string" assertions="10" status="PASSED" time="0.000">
|
||||
|
@ -52,7 +52,7 @@ Testing multiple samples with --xml
|
|||
|
||||
$ more-suites.c.bin --xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Tests compiled with Criterion v2.2.1 -->
|
||||
<!-- Tests compiled with Criterion v2.2.2 -->
|
||||
<testsuites name="Criterion Tests" tests="3" failures="0" errors="0" disabled="1">
|
||||
<testsuite name="suite2" tests="1" failures="0" errors="0" disabled="0" skipped="0" time="0.000">
|
||||
<testcase name="test" assertions="1" status="PASSED" time="0.000">
|
||||
|
@ -71,7 +71,7 @@ Testing multiple samples with --xml
|
|||
|
||||
$ long-messages.c.bin --xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Tests compiled with Criterion v2.2.1 -->
|
||||
<!-- Tests compiled with Criterion v2.2.2 -->
|
||||
<testsuites name="Criterion Tests" tests="1" failures="1" errors="0" disabled="0">
|
||||
<testsuite name="sample" tests="1" failures="1" errors="0" disabled="0" skipped="0" time="0.000">
|
||||
<testcase name="long_msg" assertions="1" status="FAILED" time="0.000">
|
||||
|
@ -82,7 +82,7 @@ Testing multiple samples with --xml
|
|||
|
||||
$ description.c.bin --xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Tests compiled with Criterion v2.2.1 -->
|
||||
<!-- Tests compiled with Criterion v2.2.2 -->
|
||||
<testsuites name="Criterion Tests" tests="2" failures="1" errors="0" disabled="1">
|
||||
<testsuite name="misc" tests="2" failures="1" errors="0" disabled="1" skipped="1" time="0.000">
|
||||
<testcase name="skipped" assertions="0" status="SKIPPED" time="0.000">
|
||||
|
@ -98,7 +98,7 @@ Testing --output=xml
|
|||
|
||||
$ simple.c.bin --output=xml:-
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Tests compiled with Criterion v2.2.1 -->
|
||||
<!-- Tests compiled with Criterion v2.2.2 -->
|
||||
<testsuites name="Criterion Tests" tests="2" failures="1" errors="0" disabled="0">
|
||||
<testsuite name="misc" tests="2" failures="1" errors="0" disabled="0" skipped="0" time="0.000">
|
||||
<testcase name="passing" assertions="1" status="PASSED" time="0.000">
|
||||
|
@ -113,7 +113,7 @@ Testing CRITERION_OUTPUTS
|
|||
|
||||
$ CRITERION_OUTPUTS=xml:- simple.c.bin
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Tests compiled with Criterion v2.2.1 -->
|
||||
<!-- Tests compiled with Criterion v2.2.2 -->
|
||||
<testsuites name="Criterion Tests" tests="2" failures="1" errors="0" disabled="0">
|
||||
<testsuite name="misc" tests="2" failures="1" errors="0" disabled="0" skipped="0" time="0.000">
|
||||
<testcase name="passing" assertions="1" status="PASSED" time="0.000">
|
||||
|
@ -128,7 +128,7 @@ Testing CRITERION_OUTPUTS
|
|||
|
||||
$ skip.c.bin --xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Tests compiled with Criterion v2.2.1 -->
|
||||
<!-- Tests compiled with Criterion v2.2.2 -->
|
||||
<testsuites name="Criterion Tests" tests="2" failures="0" errors="0" disabled="2">
|
||||
<testsuite name="misc" tests="2" failures="0" errors="0" disabled="2" skipped="2" time="0.000">
|
||||
<testcase name="skipping" assertions="0" status="SKIPPED" time="0.000">
|
||||
|
|
Loading…
Add table
Reference in a new issue