From d338875a0276dfd02794312843a4831be326f4ca Mon Sep 17 00:00:00 2001 From: Alex Mestiashvili Date: Wed, 2 May 2018 14:43:16 +0100 Subject: [PATCH] Skip memory heavy tests causing FTBFS on mips and mipsel buildds Gbp-Pq: Name 0013-skip-memory-greedy-tests.patch --- tests/playTests.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 -- 2.30.2