Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2020-06-26 16:12:37 +0300
committertamasmeszaros <meszaros.q@gmail.com>2020-08-03 20:05:30 +0300
commita68564e2d01994b13c1d675ec3d08ec0434d1b84 (patch)
treef2e21cdbced906f021c9a5402af54d2b49a1d58b /tests
parent1eec6c473c660196dbe7ca421d0abefbf4ea8739 (diff)
Include test name with output obj files for sla_print_tests
Diffstat (limited to 'tests')
-rw-r--r--tests/sla_print/sla_test_utils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sla_print/sla_test_utils.cpp b/tests/sla_print/sla_test_utils.cpp
index c46cf675c..8978281d8 100644
--- a/tests/sla_print/sla_test_utils.cpp
+++ b/tests/sla_print/sla_test_utils.cpp
@@ -69,7 +69,8 @@ void export_failed_case(const std::vector<ExPolygons> &support_slices, const Sup
m.merge(byproducts.input_mesh);
m.repair();
m.require_shared_vertices();
- m.WriteOBJFile(byproducts.obj_fname.c_str());
+ m.WriteOBJFile((Catch::getResultCapture().getCurrentTestName() + "_" +
+ byproducts.obj_fname).c_str());
}
void test_supports(const std::string &obj_filename,