From: Alex Mestiashvili Date: Wed, 9 May 2018 11:08:47 +0000 (+0100) Subject: Skip memory heavy tests causing FTBFS on mips(el) and hurd buildds X-Git-Tag: archive/raspbian/1.3.4+dfsg-3+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fd6c3ac1ea23fa9ef15b90a2760edec57e8fbb06;p=libzstd.git Skip memory heavy tests causing FTBFS on mips(el) and hurd buildds Gbp-Pq: Name 0013-skip-memory-greedy-tests.patch --- diff --git a/tests/playTests.sh b/tests/playTests.sh index 6ac49d6..182f4a4 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -743,8 +743,13 @@ roundTripTest -g18000019 -P96 19 roundTripTest -g5000000000 -P99 1 roundTripTest -g1700000000 -P0 "1 --zstd=strategy=6" # ensure btlazy2 can survive an overflow rescale +DEBARCH=$(dpkg-architecture -qDEB_HOST_ARCH) +if [ "$DEBARCH" != 'hurd-i386' ] +then fileRoundTripTest -g4193M -P99 1 - +else + $ECHO "\n**** skip memory greedy tests on $DEBARCH **** " +fi $ECHO "\n===> zstd long, long distance matching round-trip tests " roundTripTest -g270000000 "1 --single-thread --long" @@ -761,9 +766,14 @@ then $ECHO "\n===> zstdmt long round-trip tests " roundTripTest -g80000000 -P99 "19 -T2" " " roundTripTest -g5000000000 -P99 "1 -T2" " " - roundTripTest -g500000000 -P97 "1 -T999" " " - fileRoundTripTest -g4103M -P98 " -T0" " " - roundTripTest -g400000000 -P97 "1 --long=24 -T2" " " + if [ "$DEBARCH" != 'mips' -a "$DEBARCH" != 'mipsel' -a "$DEBARCH" != 'hurd-i386' ] + then + roundTripTest -g500000000 -P97 "1 -T999" " " + fileRoundTripTest -g4103M -P98 " -T0" " " + roundTripTest -g400000000 -P97 "1 --long=24 -T2" " " + else + $ECHO "\n**** skip memory greedy tests on $DEBARCH **** " + fi else $ECHO "\n**** no multithreading, skipping zstdmt tests **** " fi