From: Alex Mestiashvili Date: Tue, 21 Aug 2018 15:32:44 +0000 (+0100) Subject: Skip memory heavy tests causing FTBFS on mips(el) and hurd buildds X-Git-Tag: archive/raspbian/1.3.5+dfsg-1+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=af2d49f40ccc5f3001d4aa53262d3666f5b515b1;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 8e9fe44..4a89f85 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -799,8 +799,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" @@ -817,9 +822,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