From: Alex Mestiashvili Date: Wed, 2 May 2018 13:43:16 +0000 (+0100) Subject: Skip memory heavy tests causing FTBFS on mips and mipsel buildds X-Git-Tag: archive/raspbian/1.3.4+dfsg-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d338875a0276dfd02794312843a4831be326f4ca;p=libzstd.git Skip memory heavy tests causing FTBFS on mips and mipsel buildds Gbp-Pq: Name 0013-skip-memory-greedy-tests.patch --- diff --git a/tests/playTests.sh b/tests/playTests.sh index 6ac49d6..c3d50e1 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -761,9 +761,15 @@ 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" " " + DEBARCH=$(dpkg-architecture -qDEB_HOST_ARCH) + if [ "$DEBARCH" != 'mips' -a "$DEBARCH" != 'mipsel' ] + 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