Skip to content

Commit 6fb7e05

Browse files
committed
rangeproof: reduce test iterations; add echo script to travis to prevent timeout
1 parent 5cda465 commit 6fb7e05

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ before_install: mkdir -p `dirname $GUAVA_JAR`
6767
install: if [ ! -f $GUAVA_JAR ]; then wget $GUAVA_URL -O $GUAVA_JAR; fi
6868
before_script: ./autogen.sh
6969
script:
70+
- bash -c 'for ((i = 0; i < 3; i++)); do sleep 360 && echo '.'; done' &
7071
- if [ -n "$HOST" ]; then export USE_HOST="--host=$HOST"; fi
7172
- if [ "x$HOST" = "xi686-linux-gnu" ]; then export CC="$CC -m32"; fi
7273
- ./configure --enable-experimental=$EXPERIMENTAL --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-scalar=$SCALAR --enable-ecmult-static-precomputation=$STATICPRECOMPUTATION --enable-module-ecdh=$ECDH --enable-module-commitment=$COMMITMENT --enable-module-recovery=$RECOVERY --enable-module-rangeproof=$RANGEPROOF --enable-module-whitelist=$WHITELIST --enable-module-generator=$GENERATOR --enable-module-bulletproof=$BULLETPROOF --enable-jni=$JNI $EXTRAFLAGS $USE_HOST && make -j2 $BUILD

src/modules/rangeproof/tests_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ void run_rangeproof_tests(void) {
516516
test_api();
517517
test_rangeproof_fixed_vectors();
518518
test_pedersen_commitment_fixed_vector();
519-
for (i = 0; i < 10*count; i++) {
519+
for (i = 0; i < 2*count; i++) {
520520
test_borromean();
521521
}
522522
test_rangeproof();

0 commit comments

Comments
 (0)