mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Use TEST_TIMEOUT_SECONDS cmake flag on Travis
This commit is contained in:
parent
ac8fb636a1
commit
bf42872bb3
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user