1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
From: Ansgar Burchardt <ansgar@debian.org>
Date: Fri, 30 Mar 2012 12:01:57 +0200
Subject: disable tests that need too much memory
Forwarded: not-needed
Origin: vendor
Some tests need >8 GB RAM and thus should be disabled for the Debian packages.
--- a/dune/grid/albertagrid/test/CMakeLists.txt
+++ b/dune/grid/albertagrid/test/CMakeLists.txt
@@ -1,5 +1,5 @@
if(ALBERTA_FOUND)
- add_executable(test-alberta3d-refine test-alberta3d-refine.cc)
- add_dune_alberta_flags(test-alberta3d-refine GRIDDIM 3)
- dune_add_test(TARGET test-alberta3d-refine)
+ #add_executable(test-alberta3d-refine test-alberta3d-refine.cc)
+ #add_dune_alberta_flags(test-alberta3d-refine GRIDDIM 3)
+ #dune_add_test(TARGET test-alberta3d-refine)
endif(ALBERTA_FOUND)
--- a/dune/grid/test/CMakeLists.txt
+++ b/dune/grid/test/CMakeLists.txt
@@ -75,17 +75,17 @@
add_executable(test-alberta-1-3 EXCLUDE_FROM_ALL test-alberta.cc)
add_dune_alberta_flags(test-alberta-1-3 WORLDDIM 3)
target_compile_definitions(test-alberta-1-3 PUBLIC DUNE_GRID_EXAMPLE_GRIDS_PATH=\"${PROJECT_SOURCE_DIR}/doc/grids/\")
- dune_add_test(TARGET test-alberta-1-3)
+# dune_add_test(TARGET test-alberta-1-3)
add_executable(test-alberta-2-3 EXCLUDE_FROM_ALL test-alberta.cc)
add_dune_alberta_flags(test-alberta-2-3 WORLDDIM 3)
target_compile_definitions(test-alberta-2-3 PUBLIC DUNE_GRID_EXAMPLE_GRIDS_PATH=\"${PROJECT_SOURCE_DIR}/doc/grids/\")
- dune_add_test(TARGET test-alberta-2-3)
+# dune_add_test(TARGET test-alberta-2-3)
add_executable(test-alberta-3-3 EXCLUDE_FROM_ALL test-alberta.cc)
add_dune_alberta_flags(test-alberta-3-3 WORLDDIM 3)
target_compile_definitions(test-alberta-3-3 PUBLIC DUNE_GRID_EXAMPLE_GRIDS_PATH=\"${PROJECT_SOURCE_DIR}/doc/grids/\")
- dune_add_test(TARGET test-alberta-3-3)
+# dune_add_test(TARGET test-alberta-3-3)
add_executable(test-alberta-generic EXCLUDE_FROM_ALL test-alberta.cc)
add_dune_alberta_flags(test-alberta-generic USE_GENERIC WORLDDIM 2)
|