From 17a7bf3fd25d5b862b02267843fa2d37ed387d43 Mon Sep 17 00:00:00 2001 From: chrono Date: Sat, 6 Oct 2018 18:03:52 +0000 Subject: Add AUTOTEST Option to CMakeLists.txt --- .travis/cmake-freebsd-stage2 | 3 ++- .travis/cmake-linux | 3 ++- .travis/cmake-osx | 3 ++- .travis/cmake-windows.sh | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) (limited to '.travis') diff --git a/.travis/cmake-freebsd-stage2 b/.travis/cmake-freebsd-stage2 index cf09490c..9750531e 100755 --- a/.travis/cmake-freebsd-stage2 +++ b/.travis/cmake-freebsd-stage2 @@ -60,7 +60,8 @@ travis_script() { -DMUST_BUILD_TOXAV=ON \ -DSTRICT_ABI=ON \ -DTEST_TIMEOUT_SECONDS=120 \ - -DUSE_IPV6=OFF' + -DUSE_IPV6=OFF \ + -DAUTOTEST=ON' # We created the VM with the same number of cores as the host, so the host-ran `nproc` here is fine RUN 'gmake "-j$NPROC" -k install -C_build' diff --git a/.travis/cmake-linux b/.travis/cmake-linux index 5f8fcbde..3b34f474 100755 --- a/.travis/cmake-linux +++ b/.travis/cmake-linux @@ -97,7 +97,8 @@ travis_script() { -DMUST_BUILD_TOXAV=ON \ -DSTRICT_ABI=ON \ -DTEST_TIMEOUT_SECONDS=120 \ - -DUSE_IPV6=OFF + -DUSE_IPV6=OFF \ + -DAUTOTEST=ON cd _build # pushd make "-j$NPROC" -k install diff --git a/.travis/cmake-osx b/.travis/cmake-osx index 9c5b8e10..b6526b15 100755 --- a/.travis/cmake-osx +++ b/.travis/cmake-osx @@ -31,7 +31,8 @@ travis_script() { -DMIN_LOGGER_LEVEL=TRACE \ -DMUST_BUILD_TOXAV=ON \ -DTEST_TIMEOUT_SECONDS=120 \ - -DUSE_IPV6=OFF + -DUSE_IPV6=OFF \ + -DAUTOTEST=ON cd _build # pushd make "-j$NPROC" -k install diff --git a/.travis/cmake-windows.sh b/.travis/cmake-windows.sh index 80e37141..f22accc0 100644 --- a/.travis/cmake-windows.sh +++ b/.travis/cmake-windows.sh @@ -30,7 +30,7 @@ travis_script() { -e ENABLE_ARCH_i686=$i686 \ -e ENABLE_ARCH_x86_64=$x86_64 \ -e ENABLE_TEST=true \ - -e EXTRA_CMAKE_FLAGS="-DBOOTSTRAP_DAEMON=OFF -DMIN_LOGGER_LEVEL=DEBUG -DTEST_TIMEOUT_SECONDS=90" \ + -e EXTRA_CMAKE_FLAGS="-DBOOTSTRAP_DAEMON=OFF -DMIN_LOGGER_LEVEL=DEBUG -DTEST_TIMEOUT_SECONDS=90 -DAUTOTEST=ON" \ -e DCMAKE_C_FLAGS="$C_FLAGS" \ -e CMAKE_CXX_FLAGS="$CXX_FLAGS" \ -e CMAKE_EXE_LINKER_FLAGS="$LD_FLAGS" \ -- cgit v1.2.3