diff options
author | chrono <chron0@users.noreply.github.com> | 2018-10-06 18:03:52 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-10-07 22:09:54 +0000 |
commit | 17a7bf3fd25d5b862b02267843fa2d37ed387d43 (patch) | |
tree | 648203637503efef5a9fb2b4dcba5809a4078f10 /.travis | |
parent | 3f35a84968f100e1e6d3c9df467fd3c82a9ebb13 (diff) |
Add AUTOTEST Option to CMakeLists.txt
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/cmake-freebsd-stage2 | 3 | ||||
-rwxr-xr-x | .travis/cmake-linux | 3 | ||||
-rwxr-xr-x | .travis/cmake-osx | 3 | ||||
-rw-r--r-- | .travis/cmake-windows.sh | 2 |
4 files changed, 7 insertions, 4 deletions
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() { | |||
60 | -DMUST_BUILD_TOXAV=ON \ | 60 | -DMUST_BUILD_TOXAV=ON \ |
61 | -DSTRICT_ABI=ON \ | 61 | -DSTRICT_ABI=ON \ |
62 | -DTEST_TIMEOUT_SECONDS=120 \ | 62 | -DTEST_TIMEOUT_SECONDS=120 \ |
63 | -DUSE_IPV6=OFF' | 63 | -DUSE_IPV6=OFF \ |
64 | -DAUTOTEST=ON' | ||
64 | 65 | ||
65 | # We created the VM with the same number of cores as the host, so the host-ran `nproc` here is fine | 66 | # We created the VM with the same number of cores as the host, so the host-ran `nproc` here is fine |
66 | RUN 'gmake "-j$NPROC" -k install -C_build' | 67 | 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() { | |||
97 | -DMUST_BUILD_TOXAV=ON \ | 97 | -DMUST_BUILD_TOXAV=ON \ |
98 | -DSTRICT_ABI=ON \ | 98 | -DSTRICT_ABI=ON \ |
99 | -DTEST_TIMEOUT_SECONDS=120 \ | 99 | -DTEST_TIMEOUT_SECONDS=120 \ |
100 | -DUSE_IPV6=OFF | 100 | -DUSE_IPV6=OFF \ |
101 | -DAUTOTEST=ON | ||
101 | 102 | ||
102 | cd _build # pushd | 103 | cd _build # pushd |
103 | make "-j$NPROC" -k install | 104 | 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() { | |||
31 | -DMIN_LOGGER_LEVEL=TRACE \ | 31 | -DMIN_LOGGER_LEVEL=TRACE \ |
32 | -DMUST_BUILD_TOXAV=ON \ | 32 | -DMUST_BUILD_TOXAV=ON \ |
33 | -DTEST_TIMEOUT_SECONDS=120 \ | 33 | -DTEST_TIMEOUT_SECONDS=120 \ |
34 | -DUSE_IPV6=OFF | 34 | -DUSE_IPV6=OFF \ |
35 | -DAUTOTEST=ON | ||
35 | 36 | ||
36 | cd _build # pushd | 37 | cd _build # pushd |
37 | make "-j$NPROC" -k install | 38 | 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() { | |||
30 | -e ENABLE_ARCH_i686=$i686 \ | 30 | -e ENABLE_ARCH_i686=$i686 \ |
31 | -e ENABLE_ARCH_x86_64=$x86_64 \ | 31 | -e ENABLE_ARCH_x86_64=$x86_64 \ |
32 | -e ENABLE_TEST=true \ | 32 | -e ENABLE_TEST=true \ |
33 | -e EXTRA_CMAKE_FLAGS="-DBOOTSTRAP_DAEMON=OFF -DMIN_LOGGER_LEVEL=DEBUG -DTEST_TIMEOUT_SECONDS=90" \ | 33 | -e EXTRA_CMAKE_FLAGS="-DBOOTSTRAP_DAEMON=OFF -DMIN_LOGGER_LEVEL=DEBUG -DTEST_TIMEOUT_SECONDS=90 -DAUTOTEST=ON" \ |
34 | -e DCMAKE_C_FLAGS="$C_FLAGS" \ | 34 | -e DCMAKE_C_FLAGS="$C_FLAGS" \ |
35 | -e CMAKE_CXX_FLAGS="$CXX_FLAGS" \ | 35 | -e CMAKE_CXX_FLAGS="$CXX_FLAGS" \ |
36 | -e CMAKE_EXE_LINKER_FLAGS="$LD_FLAGS" \ | 36 | -e CMAKE_EXE_LINKER_FLAGS="$LD_FLAGS" \ |