tests: avoid sort-spinlock-abuse false positive under heavy load
authorJim Meyering <meyering@redhat.com>
Fri, 17 Jun 2011 10:01:10 +0000 (12:01 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 17 Jun 2011 10:11:03 +0000 (12:11 +0200)
* tests/misc/sort-spinlock-abuse: Classify as "very expensive" to
avoid unwarranted failure once and for all.

tests/misc/sort-spinlock-abuse

index 4cf8866..0e1c86b 100755 (executable)
 . "${srcdir=.}/init.sh"; path_prepend_ ../src
 print_ver_ sort
 
+# This isn't terribly expensive, but it must not be run under heavy load.
+# Since the "very expensive" are already run only with -j1, adding this
+# test to the list ensures it still gets _some_ (albeit minimal) coverage
+# while not causing false-positive failures in day to day runs.
+very_expensive_
+
 grep '^#define HAVE_PTHREAD_T 1' "$CONFIG_HEADER" > /dev/null ||
   skip_ 'requires pthreads'