aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/bear-disable-preinstall-tests.patch
blob: ffb31c28f1317963edb32291bef8ca71f6737a3d (plain)
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
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,10 +60,6 @@ ExternalProject_Add(BearSource
             -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
             -DENABLE_UNIT_TESTS:BOOL=${ENABLE_UNIT_TESTS}
             -DENABLE_FUNC_TESTS:BOOL=${ENABLE_FUNC_TESTS}
-        TEST_BEFORE_INSTALL
-            1
-        TEST_COMMAND
-            ctest # or `ctest -T memcheck`
         )
 
 # Run the functional tests
@@ -77,12 +73,8 @@ if (ENABLE_FUNC_TESTS)
                 -DCMAKE_INSTALL_LIBDIR:PATH=${CMAKE_INSTALL_LIBDIR}
                 -DCMAKE_INSTALL_BINDIR:PATH=${CMAKE_INSTALL_BINDIR}
                 -DSTAGED_INSTALL_PREFIX:PATH=${STAGED_INSTALL_PREFIX}
-            TEST_BEFORE_INSTALL
-                1
             INSTALL_COMMAND
                 ""
-            TEST_COMMAND
-                ctest --verbose
             )
 endif ()