skip-long-running-tests_on_hurd
authorAlex Mestiashvili <mailatgoogl@gmail.com>
Thu, 21 Dec 2017 13:25:26 +0000 (13:25 +0000)
committerAlexandre Mestiashvili <alex@biotec.tu-dresden.de>
Thu, 21 Dec 2017 13:25:26 +0000 (13:25 +0000)
Gbp-Pq: Name 0011-skip-long-running-tests_on_hurd.patch

tests/playTests.sh

index 4b99b611f45292f478e5daf9294b1591d083fd4c..f45dbd6e28c92d9679ec96e2c603b770323068cd 100755 (executable)
@@ -713,7 +713,10 @@ roundTripTest -g18000019 -P96 19
 
 roundTripTest -g5000000000 -P99 1
 
+DEBIAN_ARCH=$(dpkg-architecture -qDEB_HOST_ARCH_OS)
+if [ "$DEBIAN_ARCH" != "hurd" ]; then
 fileRoundTripTest -g4193M -P99 1
+fi
 
 
 $ECHO "\n===>   zstd long, long distance matching round-trip tests "
@@ -732,7 +735,9 @@ then
     roundTripTest -g80000000 -P99 "19 -T2" " "
     roundTripTest -g5000000000 -P99 "1 -T2" " "
     roundTripTest -g500000000 -P97 "1 -T999" " "
+    if [ "$DEBIAN_ARCH" != "hurd" ]; then
     fileRoundTripTest -g4103M -P98 " -T0" " "
+    fi
     roundTripTest -g400000000 -P97 "1 --long=24 -T2" " "
 else
     $ECHO "\n**** no multithreading, skipping zstdmt tests **** "