]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
add RUN_EXPENSIVE_TESTS junk
authorJim Meyering <jim@meyering.net>
Sat, 20 May 2000 09:09:18 +0000 (09:09 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 20 May 2000 09:09:18 +0000 (09:09 +0000)
tests/rm/hash

index 17587b1822c2d173d7dce81922a6cd3d9cc119b6..ba1aa17516dd7fbaab34d4668ebb0e5a40e0b4b9 100755 (executable)
@@ -3,6 +3,18 @@
 # Before then, rm would fail occasionally, sometimes via
 # a failed assertion, others with a seg fault.
 
+if test "$RUN_EXPENSIVE_TESTS" != yes; then
+  cat <<EOF >&2
+$0: This test is relatively expensive, so it is disabled by default.
+To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
+environment variable set to yes.  E.g.,
+
+  env RUN_EXPENSIVE_TESTS=yes make check
+
+EOF
+  exit 77
+fi
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version