From fcc3d92d5de64cb3ddd981079bfd4c5c8d3af2c1 Mon Sep 17 00:00:00 2001 From: Snaipe Date: Tue, 6 Sep 2016 18:13:56 +0200 Subject: [PATCH] version: Fixed reported version --- .cmake/Modules/Properties.cmake | 2 +- README.md | 2 +- test/cram/core.t | 12 +++++----- test/cram/crashes.t | 10 ++++---- test/cram/exit.t | 4 ++-- test/cram/fail-fast.t | 4 ++-- test/cram/help.t | 4 ++-- test/cram/json.t | 18 +++++++------- test/cram/log.t | 4 ++-- test/cram/parameterized.t | 4 ++-- test/cram/pattern.t | 42 ++++++++++++++++----------------- test/cram/skip.t | 2 +- test/cram/suites.t | 4 ++-- test/cram/tap.t | 18 +++++++------- test/cram/xml.t | 18 +++++++------- 15 files changed, 74 insertions(+), 74 deletions(-) diff --git a/.cmake/Modules/Properties.cmake b/.cmake/Modules/Properties.cmake index 319fb30..933fa20 100644 --- a/.cmake/Modules/Properties.cmake +++ b/.cmake/Modules/Properties.cmake @@ -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) diff --git a/README.md b/README.md index 3fd0120..ce163b4 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/Snaipe/Criterion?svg=true&branch=bleeding)](https://ci.appveyor.com/project/Snaipe/Criterion/branch/bleeding) [![Coverage Status](https://img.shields.io/codecov/c/github/Snaipe/Criterion/bleeding.svg)](https://codecov.io/github/Snaipe/Criterion?branch=bleeding) [![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/Snaipe/Criterion/blob/master/LICENSE) -[![Version](https://img.shields.io/badge/version-v2.2.1-blue.svg?style=flat)](https://github.com/Snaipe/Criterion/releases) +[![Version](https://img.shields.io/badge/version-v2.2.2-blue.svg?style=flat)](https://github.com/Snaipe/Criterion/releases) A dead-simple, yet extensible, C and C++ unit testing framework. diff --git a/test/cram/core.t b/test/cram/core.t index f7f03d7..8fa10ac 100644 --- a/test/cram/core.t +++ b/test/cram/core.t @@ -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) diff --git a/test/cram/crashes.t b/test/cram/crashes.t index 3829f25..83845d7 100644 --- a/test/cram/crashes.t +++ b/test/cram/crashes.t @@ -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) diff --git a/test/cram/exit.t b/test/cram/exit.t index 80b60b4..9bdc72e 100644 --- a/test/cram/exit.t +++ b/test/cram/exit.t @@ -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) diff --git a/test/cram/fail-fast.t b/test/cram/fail-fast.t index 7fad97e..e7ecdc8 100644 --- a/test/cram/fail-fast.t +++ b/test/cram/fail-fast.t @@ -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) diff --git a/test/cram/help.t b/test/cram/help.t index 16ec4c8..c3908ee 100644 --- a/test/cram/help.t +++ b/test/cram/help.t @@ -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: diff --git a/test/cram/json.t b/test/cram/json.t index 3236d8a..fcf0d69 100644 --- a/test/cram/json.t +++ b/test/cram/json.t @@ -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, diff --git a/test/cram/log.t b/test/cram/log.t index cbc9621..d3e2482 100644 --- a/test/cram/log.t +++ b/test/cram/log.t @@ -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) diff --git a/test/cram/parameterized.t b/test/cram/parameterized.t index a373306..a674561 100644 --- a/test/cram/parameterized.t +++ b/test/cram/parameterized.t @@ -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) diff --git a/test/cram/pattern.t b/test/cram/pattern.t index f8d7436..02fdc37 100644 --- a/test/cram/pattern.t +++ b/test/cram/pattern.t @@ -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) diff --git a/test/cram/skip.t b/test/cram/skip.t index 808fecc..4426a36 100644 --- a/test/cram/skip.t +++ b/test/cram/skip.t @@ -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) diff --git a/test/cram/suites.t b/test/cram/suites.t index 1a83ea2..051e3f7 100644 --- a/test/cram/suites.t +++ b/test/cram/suites.t @@ -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) diff --git a/test/cram/tap.t b/test/cram/tap.t index 9e86e41..e8dffbf 100644 --- a/test/cram/tap.t +++ b/test/cram/tap.t @@ -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 diff --git a/test/cram/xml.t b/test/cram/xml.t index a06c1d2..c94d5ad 100644 --- a/test/cram/xml.t +++ b/test/cram/xml.t @@ -2,7 +2,7 @@ Testing multiple samples with --xml $ simple.c.bin --xml - + @@ -15,7 +15,7 @@ Testing multiple samples with --xml $ signal.c.bin --xml - + @@ -30,7 +30,7 @@ Testing multiple samples with --xml $ asserts.c.bin --xml - + @@ -52,7 +52,7 @@ Testing multiple samples with --xml $ more-suites.c.bin --xml - + @@ -71,7 +71,7 @@ Testing multiple samples with --xml $ long-messages.c.bin --xml - + @@ -82,7 +82,7 @@ Testing multiple samples with --xml $ description.c.bin --xml - + @@ -98,7 +98,7 @@ Testing --output=xml $ simple.c.bin --output=xml:- - + @@ -113,7 +113,7 @@ Testing CRITERION_OUTPUTS $ CRITERION_OUTPUTS=xml:- simple.c.bin - + @@ -128,7 +128,7 @@ Testing CRITERION_OUTPUTS $ skip.c.bin --xml - +