From bf42872bb3b1078deb7955f6b6044cd919565c31 Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Tue, 4 Oct 2016 15:28:26 -0400 Subject: [PATCH] Use TEST_TIMEOUT_SECONDS cmake flag on Travis --- other/travis/toxcore-script | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/other/travis/toxcore-script b/other/travis/toxcore-script index b1e60763f..c5d94ba29 100755 --- a/other/travis/toxcore-script +++ b/other/travis/toxcore-script @@ -6,7 +6,14 @@ export CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage" # Build toxcore and run tests. # TODO(iphydf): Enable ASAN. It currently has some bad interactions with gcov, # so it's disabled on Travis. -RUN $CMAKE -B$BUILD_DIR -H. -DCMAKE_INSTALL_PREFIX:PATH=$CURDIR/_install -DDEBUG=ON -DASSOC_DHT=ON -DSTRICT_ABI=ON #-DASAN=ON +RUN $CMAKE \ + -B$BUILD_DIR \ + -H. \ + -DCMAKE_INSTALL_PREFIX:PATH=$CURDIR/_install \ + -DDEBUG=ON \ + -DASSOC_DHT=ON \ + -DSTRICT_ABI=ON \ + -DTEST_TIMEOUT_SECONDS=300 #-DASAN=ON export CTEST_OUTPUT_ON_FAILURE=1