diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2020-06-26 16:12:37 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2020-08-03 20:05:30 +0300 |
commit | a68564e2d01994b13c1d675ec3d08ec0434d1b84 (patch) | |
tree | f2e21cdbced906f021c9a5402af54d2b49a1d58b /tests | |
parent | 1eec6c473c660196dbe7ca421d0abefbf4ea8739 (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.cpp | 3 |
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, |