From 4f2772fef493a98ac05b11d89c36047b02485dd1 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Fri, 18 Feb 2022 14:29:09 +0100 Subject: [PATCH] Fix sla archive tests --- tests/sla_print/CMakeLists.txt | 4 ++++ tests/sla_print/sla_archive_export_tests.cpp | 2 ++ 2 files changed, 6 insertions(+) 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);