Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/Progmasoft/Runner/Analysis.cpp
diff options
context:
space:
mode:
authorLeitwolf2026-11-01 15:29:13 +0300
committerGitHub2026-11-01 15:29:13 +0300
commitb7fe8c2061c98e7aec886e9b1e6282f48c3b5456 (patch)
treef933300c29658c3eb89d126d74b6c30fdff9dd04 /src/Progmasoft/Runner/Analysis.cpp
parent1559307a6ac7731ffd6a8e28147552b3987dbd93 (diff)
parent569620dad14df7e13bb9fd31d256e9fd873ef6ec (diff)
downloadcatch3-b7fe8c2061c98e7aec886e9b1e6282f48c3b5456.tar.gz
Merge pull request #28 from Progmasoft/feature/result-import
Import the results of other test frameworks
Diffstat (limited to 'src/Progmasoft/Runner/Analysis.cpp')
-rw-r--r--src/Progmasoft/Runner/Analysis.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Progmasoft/Runner/Analysis.cpp b/src/Progmasoft/Runner/Analysis.cpp
index 802f1ed9..739ca2dc 100644
--- a/src/Progmasoft/Runner/Analysis.cpp
+++ b/src/Progmasoft/Runner/Analysis.cpp
@@ -350,6 +350,11 @@ namespace Progmasoft::Catch3::Runner
test.analysis.insert(
test.analysis.end(), findings.begin(), findings.end());
+ // An imported failure ran somewhere else.
+ if (inputs.program.empty())
+ {
+ continue;
+ }
std::string replay = QuoteArgument(inputs.program) + " " +
QuoteArgument(QuoteTestSpec(test.name)) +
" --seed=" + std::to_string(failure->seed);