Просмотр исходного кода

BUILD_TESTING set to OFF by default

Michele Caini 7 лет назад
Родитель
Сommit
d59faa2a08
3 измененных файлов с 3 добавлено и 4 удалено
  1. 2 2
      .travis.yml
  2. 1 1
      CMakeLists.txt
  3. 0 1
      TODO

+ 2 - 2
.travis.yml

@@ -51,8 +51,8 @@ install:
 
 script:
 - mkdir -p build && cd build
-- cmake -DCMAKE_BUILD_TYPE=Release .. && make -j4
-- CTEST_OUTPUT_ON_FAILURE=1 make test
+- cmake -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release .. && make -j4
+- CTEST_OUTPUT_ON_FAILURE=1 ctest -j4
 
 deploy:
   provider: script

+ 1 - 1
CMakeLists.txt

@@ -162,7 +162,7 @@ export(PACKAGE EnTT)
 # Tests
 #
 
-option(BUILD_TESTING "Enable testing with ctest." ON)
+option(BUILD_TESTING "Enable testing with ctest." OFF)
 
 if(BUILD_TESTING)
     set(THREADS_PREFER_PTHREAD_FLAG ON)

+ 0 - 1
TODO

@@ -19,5 +19,4 @@
 * add a note about multithreading support to the README file
 * signals on entity creation/destruction
 * flexible views with "composable" filters
-* do not set BUILD_TESTING to ON by default anymore
 * create a dedicated .md for EnTT in Action list and create two sections: articles and games