diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-03 16:13:22 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-02-06 20:21:27 +0000 |
commit | 835b9fbdc933878a744cd6ba1c77942610f4fe06 (patch) | |
tree | da7286c8a8f00106eb92bf53701c8711b20612ff /other | |
parent | feaefbcbb3ab5bd3fe7dc963d6f963669673fadc (diff) |
Improve stability of crypto_memcmp test.
Also reduce number of people in conference to 5, because on Circle CI the
test times out trying to connect more than 6 or 7 people. The persistent
conferences PR will improve this so we can set it much higher then.
Diffstat (limited to 'other')
-rw-r--r-- | other/travis/env.sh | 1 | ||||
-rwxr-xr-x | other/travis/toxcore-script | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/other/travis/env.sh b/other/travis/env.sh index f4ef8ef3..7d90d395 100644 --- a/other/travis/env.sh +++ b/other/travis/env.sh | |||
@@ -7,6 +7,7 @@ export LD_LIBRARY_PATH=$CACHE_DIR/lib | |||
7 | export PKG_CONFIG_PATH=$CACHE_DIR/lib/pkgconfig | 7 | export PKG_CONFIG_PATH=$CACHE_DIR/lib/pkgconfig |
8 | export ASTYLE=$CACHE_DIR/astyle/build/gcc/bin/astyle | 8 | export ASTYLE=$CACHE_DIR/astyle/build/gcc/bin/astyle |
9 | export CFLAGS="-O3 -DTRAVIS_ENV=1" | 9 | export CFLAGS="-O3 -DTRAVIS_ENV=1" |
10 | export CXXFLAGS="-O3 -DTRAVIS_ENV=1" | ||
10 | export CMAKE_EXTRA_FLAGS="-DERROR_ON_WARNING=ON" | 11 | export CMAKE_EXTRA_FLAGS="-DERROR_ON_WARNING=ON" |
11 | export MAKE=make | 12 | export MAKE=make |
12 | 13 | ||
diff --git a/other/travis/toxcore-script b/other/travis/toxcore-script index 763be2e4..82c39ce9 100755 --- a/other/travis/toxcore-script +++ b/other/travis/toxcore-script | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | # Enable test coverage recording. | 3 | # Enable test coverage recording. |
4 | export CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage" | 4 | export CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage" |
5 | export CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage" | ||
5 | 6 | ||
6 | set_opt() { | 7 | set_opt() { |
7 | opts="$opts -D$1="`expr ON \& \( $i % 2 \) \| OFF` | 8 | opts="$opts -D$1="`expr ON \& \( $i % 2 \) \| OFF` |