From 091349ea8fe7bec807b594053d72597486d7ec94 Mon Sep 17 00:00:00 2001 From: Alex Mestiashvili Date: Sat, 5 Jan 2019 22:42:20 +0000 Subject: [PATCH] Skip memory heavy tests causing FTBFS on mips(el) and hurd buildds Gbp-Pq: Name 0013-skip-memory-greedy-tests.patch --- tests/playTests.sh | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/tests/playTests.sh b/tests/playTests.sh index ad12590..cf92b47 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -900,8 +900,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" @@ -918,9 +923,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 -- 2.30.2