Browse Source

Exclude tests marked as Slow from ctests

tamasmeszaros 1 year ago
parent
commit
90a7bc929c
2 changed files with 2 additions and 3 deletions
  1. 1 1
      tests/arrange/CMakeLists.txt
  2. 1 2
      tests/arrange/test_arrange.cpp

+ 1 - 1
tests/arrange/CMakeLists.txt

@@ -12,6 +12,6 @@ if (WIN32)
     prusaslicer_copy_dlls(${_TEST_NAME}_tests)
     prusaslicer_copy_dlls(${_TEST_NAME}_tests)
 endif()
 endif()
 
 
-set(_catch_args "exclude:[NotWorking]")
+set(_catch_args "exclude:[NotWorking][Slow]")
 list(APPEND _catch_args "${CATCH_EXTRA_ARGS}")
 list(APPEND _catch_args "${CATCH_EXTRA_ARGS}")
 add_test(${_TEST_NAME}_tests ${_TEST_NAME}_tests ${_catch_args})
 add_test(${_TEST_NAME}_tests ${_TEST_NAME}_tests ${_catch_args})

+ 1 - 2
tests/arrange/test_arrange.cpp

@@ -466,8 +466,7 @@ TEST_CASE("NFP should be empty if item cannot fit into bed", "[arrange2]") {
 #include <boost/filesystem/path.hpp>
 #include <boost/filesystem/path.hpp>
 #include <boost/filesystem.hpp>
 #include <boost/filesystem.hpp>
 
 
-TEMPLATE_TEST_CASE("NFP algorithm test",
-                   "[arrange2]",
+TEMPLATE_TEST_CASE("NFP algorithm test", "[arrange2][Slow]",
                    Slic3r::arr2::InfiniteBed,
                    Slic3r::arr2::InfiniteBed,
                    Slic3r::arr2::RectangleBed,
                    Slic3r::arr2::RectangleBed,
                    Slic3r::arr2::CircleBed,
                    Slic3r::arr2::CircleBed,