mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-04 22:19:34 +01:00
Add tests for #1514
If the regression comes back, it will only be caught by approvals, but that's better than nothing.
This commit is contained in:
@@ -142,6 +142,19 @@
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="#1514: stderr/stdout is not captured in tests aborted by an exception" tags="[.][output-capture][regression]" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Failure filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
1514
|
||||
</Failure>
|
||||
<OverallResult success="false">
|
||||
<StdOut>
|
||||
This would not be caught previously
|
||||
</StdOut>
|
||||
<StdErr>
|
||||
Nor would this
|
||||
</StdErr>
|
||||
</OverallResult>
|
||||
</TestCase>
|
||||
<TestCase name="#1548" tags="[compilation]" filename="projects/<exe-name>/UsageTests/Compilation.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/UsageTests/Compilation.tests.cpp" >
|
||||
<Original>
|
||||
@@ -12959,7 +12972,7 @@ loose text artifact
|
||||
</Section>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<OverallResults successes="1244" failures="130" expectedFailures="21"/>
|
||||
<OverallResults successes="1244" failures="131" expectedFailures="21"/>
|
||||
</Group>
|
||||
<OverallResults successes="1244" failures="129" expectedFailures="21"/>
|
||||
<OverallResults successes="1244" failures="130" expectedFailures="21"/>
|
||||
</Catch>
|
||||
|
||||
Reference in New Issue
Block a user