mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 14:09:33 +01:00 
			
		
		
		
	Change reporters to report filters in round-trippable format
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
Filters: ~[!nonportable]~[!benchmark]~[approvals] *
 | 
			
		||||
Filters: "*" ~[!nonportable] ~[!benchmark] ~[approvals]
 | 
			
		||||
RNG seed: 1
 | 
			
		||||
Misc.tests.cpp:<line number>: passed: with 1 message: 'yay'
 | 
			
		||||
Compilation.tests.cpp:<line number>: passed: y.v == 0 for: 0 == 0
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
Filters: ~[!nonportable]~[!benchmark]~[approvals] *
 | 
			
		||||
Filters: "*" ~[!nonportable] ~[!benchmark] ~[approvals]
 | 
			
		||||
RNG seed: 1
 | 
			
		||||
Misc.tests.cpp:<line number>: passed: with 1 message: 'yay'
 | 
			
		||||
Compilation.tests.cpp:<line number>: passed: y.v == 0 for: 0 == 0
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
Filters: ~[!nonportable]~[!benchmark]~[approvals] *
 | 
			
		||||
Filters: "*" ~[!nonportable] ~[!benchmark] ~[approvals]
 | 
			
		||||
Randomness seeded to: 1
 | 
			
		||||
 | 
			
		||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
Filters: ~[!nonportable]~[!benchmark]~[approvals] *
 | 
			
		||||
Filters: "*" ~[!nonportable] ~[!benchmark] ~[approvals]
 | 
			
		||||
Randomness seeded to: 1
 | 
			
		||||
 | 
			
		||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
Filters: ~[!nonportable]~[!benchmark]~[approvals] *
 | 
			
		||||
Filters: "*" ~[!nonportable] ~[!benchmark] ~[approvals]
 | 
			
		||||
Randomness seeded to: 1
 | 
			
		||||
 | 
			
		||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
Filters: ~[!nonportable]~[!benchmark]~[approvals] *
 | 
			
		||||
Filters: "*" ~[!nonportable] ~[!benchmark] ~[approvals]
 | 
			
		||||
Randomness seeded to: 1
 | 
			
		||||
 | 
			
		||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
  <testsuite name="<exe-name>" errors="17" failures="126" tests="2159" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}">
 | 
			
		||||
    <properties>
 | 
			
		||||
      <property name="random-seed" value="1"/>
 | 
			
		||||
      <property name="filters" value="~[!nonportable]~[!benchmark]~[approvals] *"/>
 | 
			
		||||
      <property name="filters" value=""*" ~[!nonportable] ~[!benchmark] ~[approvals]"/>
 | 
			
		||||
    </properties>
 | 
			
		||||
    <testcase classname="<exe-name>.global" name="# A test name that starts with a #" time="{duration}" status="run"/>
 | 
			
		||||
    <testcase classname="<exe-name>.global" name="#1027: Bitfields can be captured" time="{duration}" status="run"/>
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,7 @@
 | 
			
		||||
  <testsuite name="<exe-name>" errors="17" failures="126" tests="2159" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}">
 | 
			
		||||
    <properties>
 | 
			
		||||
      <property name="random-seed" value="1"/>
 | 
			
		||||
      <property name="filters" value="~[!nonportable]~[!benchmark]~[approvals] *"/>
 | 
			
		||||
      <property name="filters" value=""*" ~[!nonportable] ~[!benchmark] ~[approvals]"/>
 | 
			
		||||
    </properties>
 | 
			
		||||
    <testcase classname="<exe-name>.global" name="# A test name that starts with a #" time="{duration}" status="run"/>
 | 
			
		||||
    <testcase classname="<exe-name>.global" name="#1027: Bitfields can be captured" time="{duration}" status="run"/>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<!-- filters='~[!nonportable]~[!benchmark]~[approvals] *' rng-seed=1 -->
 | 
			
		||||
<!-- filters='"*" ~[!nonportable] ~[!benchmark] ~[approvals]' rng-seed=1 -->
 | 
			
		||||
<testExecutions version="1"loose text artifact
 | 
			
		||||
>
 | 
			
		||||
  <file path="tests/<exe-name>/IntrospectiveTests/Clara.tests.cpp">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<!-- filters='~[!nonportable]~[!benchmark]~[approvals] *' rng-seed=1 -->
 | 
			
		||||
<!-- filters='"*" ~[!nonportable] ~[!benchmark] ~[approvals]' rng-seed=1 -->
 | 
			
		||||
<testExecutions version="1">
 | 
			
		||||
  <file path="tests/<exe-name>/IntrospectiveTests/Clara.tests.cpp">
 | 
			
		||||
    <testCase name="Clara::Arg supports single-arg parse the way Opt does" duration="{duration}"/>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
# filters: ~[!nonportable]~[!benchmark]~[approvals] *
 | 
			
		||||
# filters: "*" ~[!nonportable] ~[!benchmark] ~[approvals]
 | 
			
		||||
# rng-seed: 1
 | 
			
		||||
# # A test name that starts with a #
 | 
			
		||||
ok {test-number} - with 1 message: 'yay'
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
# filters: ~[!nonportable]~[!benchmark]~[approvals] *
 | 
			
		||||
# filters: "*" ~[!nonportable] ~[!benchmark] ~[approvals]
 | 
			
		||||
# rng-seed: 1
 | 
			
		||||
# # A test name that starts with a #
 | 
			
		||||
ok {test-number} - with 1 message: 'yay'
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<Catch2TestRun name="<exe-name>" rng-seed="1" catch2-version="<version>" 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>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<Catch2TestRun name="<exe-name>" rng-seed="1" catch2-version="<version>" 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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user