mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
tests: avoid sort-spinlock-abuse false positive under heavy load
* tests/misc/sort-spinlock-abuse: Classify as "very expensive" to avoid unwarranted failure once and for all.
This commit is contained in:
1 parent
2e580ca741
commit
7df26ae6fe
1 file changed
+6
@@ -20,6 +20,12 @@
|
||||
. "${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'
|
||||
|
||||
|
||||
Reference in new issue
Block a user