Report Catch2's version in the xml reporter output

This commit is contained in:
Martin Hořeňovský
2022-05-03 19:44:55 +02:00
parent 40c8909a49
commit d9b0a38f81
8 changed files with 10 additions and 8 deletions

View File

@@ -2,7 +2,7 @@ Filters: ~[!nonportable]~[!benchmark]~[approvals] *
Randomness seeded to: 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<exe-name> is a <version> host application.
<exe-name> is a Catch2 v<version> host application.
Run with -? for options
-------------------------------------------------------------------------------

View File

@@ -2,7 +2,7 @@ Filters: ~[!nonportable]~[!benchmark]~[approvals] *
Randomness seeded to: 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<exe-name> is a <version> host application.
<exe-name> is a Catch2 v<version> host application.
Run with -? for options
-------------------------------------------------------------------------------

View File

@@ -2,7 +2,7 @@ Filters: ~[!nonportable]~[!benchmark]~[approvals] *
Randomness seeded to: 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<exe-name> is a <version> host application.
<exe-name> is a Catch2 v<version> host application.
Run with -? for options
-------------------------------------------------------------------------------

View File

@@ -2,7 +2,7 @@ Filters: ~[!nonportable]~[!benchmark]~[approvals] *
Randomness seeded to: 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<exe-name> is a <version> host application.
<exe-name> is a Catch2 v<version> host application.
Run with -? for options
-------------------------------------------------------------------------------

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Catch2TestRun name="<exe-name>" rng-seed="1" filters="~[!nonportable]~[!benchmark]~[approvals] *">
<Catch2TestRun name="<exe-name>" rng-seed="1" catch2-version="<version>" filters="~[!nonportable]~[!benchmark]~[approvals] *">
<TestCase name="# A test name that starts with a #" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
<OverallResult success="true"/>
</TestCase>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Catch2TestRun name="<exe-name>" rng-seed="1" filters="~[!nonportable]~[!benchmark]~[approvals] *">
<Catch2TestRun name="<exe-name>" rng-seed="1" catch2-version="<version>" filters="~[!nonportable]~[!benchmark]~[approvals] *">
<TestCase name="# A test name that starts with a #" filename="tests/<exe-name>/UsageTests/Misc.tests.cpp" >
<OverallResult success="true"/>
</TestCase>