catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Use binary path in testBazelReporter reporter output path
- Commit
bdfa920f931f186edf3c3042d49ddd341c4dbfc9- Author
- Martin Hořeňovský ·
- Parents
a36926787432
Changes
tests/TestScripts/testBazelReporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestScripts/testBazelReporter.py b/tests/TestScripts/testBazelReporter.py index 1978f761..71014ee2 100644 --- a/tests/TestScripts/testBazelReporter.py +++ b/tests/TestScripts/testBazelReporter.py @@ -28,7 +28,7 @@ if len(sys.argv) != 3: bin_path = os.path.abspath(sys.argv[1]) output_dir = os.path.abspath(sys.argv[2]) -xml_out_path = os.path.join(output_dir, "bazel-out.xml") +xml_out_path = os.path.join(output_dir, '{}.xml'.format(os.path.basename(bin_path))) # Ensure no file exists from previous test runs if os.path.isfile(xml_out_path):