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

summaryrefslogtreecommitdiffhomepage
path: root/src/Progmasoft/Runner/Runner.cpp
diff options
context:
space:
mode:
authorLeitwolf2026-10-30 00:07:08 +0300
committerGitHub2026-10-30 00:07:08 +0300
commit5d713685c54bb491ad1bbb0fd8f80318bfaf7103 (patch)
treefed3945312bd75d050c9c3163584b1ae6fcb1b93 /src/Progmasoft/Runner/Runner.cpp
parentdb9f14bb7f38425e6005ae2212d83f01f9f2f8be (diff)
parent471756b77331fa1ab77bc94e6aae228baef903e0 (diff)
downloadcatch3-5d713685c54bb491ad1bbb0fd8f80318bfaf7103.tar.gz
Merge branch 'devel' into ci/narrow-macosci/narrow-macos
Diffstat (limited to 'src/Progmasoft/Runner/Runner.cpp')
-rw-r--r--src/Progmasoft/Runner/Runner.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/Progmasoft/Runner/Runner.cpp b/src/Progmasoft/Runner/Runner.cpp
index 7e69206a..62acac2c 100644
--- a/src/Progmasoft/Runner/Runner.cpp
+++ b/src/Progmasoft/Runner/Runner.cpp
@@ -16,8 +16,10 @@
#include <chrono>
#include <cstdio>
#include <exception>
+#include <filesystem>
#include <map>
#include <random>
+#include <system_error>
#include "Analysis.hpp"
#include "Catalog.hpp"
@@ -31,6 +33,7 @@
#include "Options.hpp"
#include "Planner.hpp"
#include "Process.hpp"
+#include "ProjectConfig.hpp"
#include "ResultsJson.hpp"
#include "Scheduler.hpp"
@@ -523,7 +526,9 @@ namespace Progmasoft::Catch3
{
rest.assign(arguments.begin() + 1, arguments.end());
}
- auto parsed = Runner::ParseOptions(rest);
+ std::error_code here;
+ auto parsed = Runner::ParseCommandLine(
+ rest, std::filesystem::current_path(here));
if (!parsed)
{
PrintError(parsed.GetError().Message());
@@ -558,6 +563,11 @@ namespace Progmasoft::Catch3
}
std::vector<std::string> notes;
+ if (!options.configPath.empty()
+ && options.verbosity == Runner::Verbosity::kVerbose)
+ {
+ notes.push_back("configuration from " + options.configPath);
+ }
if (BazelTest())
{
ApplyBazel(options, notes);