diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2022-02-18 16:29:09 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2022-02-18 16:30:13 +0300 |
commit | 4f2772fef493a98ac05b11d89c36047b02485dd1 (patch) | |
tree | 59a4de5bc05c8ddfe2e3c47929349f20a3b0d063 /tests | |
parent | b8718f46015c3e09ad6042ee6ce24cca636b88b9 (diff) |
Fix sla archive tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sla_print/CMakeLists.txt | 4 | ||||
-rw-r--r-- | tests/sla_print/sla_archive_export_tests.cpp | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/sla_print/CMakeLists.txt b/tests/sla_print/CMakeLists.txt index 26d576549..88c1cd186 100644 --- a/tests/sla_print/CMakeLists.txt +++ b/tests/sla_print/CMakeLists.txt @@ -8,5 +8,9 @@ add_executable(${_TEST_NAME}_tests ${_TEST_NAME}_tests_main.cpp target_link_libraries(${_TEST_NAME}_tests test_common libslic3r) set_property(TARGET ${_TEST_NAME}_tests PROPERTY FOLDER "tests") +if (WIN32) + prusaslicer_copy_dlls(${_TEST_NAME}_tests) +endif() + # catch_discover_tests(${_TEST_NAME}_tests TEST_PREFIX "${_TEST_NAME}: ") add_test(${_TEST_NAME}_tests ${_TEST_NAME}_tests ${CATCH_EXTRA_ARGS}) diff --git a/tests/sla_print/sla_archive_export_tests.cpp b/tests/sla_print/sla_archive_export_tests.cpp index 4cfdd0cdc..9dbe5bc64 100644 --- a/tests/sla_print/sla_archive_export_tests.cpp +++ b/tests/sla_print/sla_archive_export_tests.cpp @@ -19,6 +19,8 @@ TEST_CASE("Archive export test", "[sla_archives]") { auto m = Model::read_from_file(TEST_DATA_DIR PATH_SEPARATOR + std::string(PNAME) + ".obj", nullptr); fullcfg.set("sla_archive_format", archname); + fullcfg.set("supports_enable", false); + fullcfg.set("pad_enable", false); DynamicPrintConfig cfg; cfg.apply(fullcfg); |