Skip to content

Commit e66876f

Browse files
authored
[OpenMP][Tools] Have sort(1) not use long name parameters (#73477)
I noticed a few tests were failing on NetBSD. NetBSD's sort(1) does not support long name parameters unlike GNU and FreeBSD/OpenBSD/DragonFly's sort(1). executed command: sort --numeric-sort --stable .---command stderr------------ | sort: unknown option -- - | usage: sort [-bdfHilmnrSsu] [-k kstart[,kend]] [-o output] [-R char] [-T dir] | [-t char] [file ...] | or: sort -C|-c [-bdfilnru] [-k kstart[,kend]] [-o output] [-R char] | [-t char] [file] `-----------------------------
1 parent 20406af commit e66876f

File tree

1 file changed

+1
-1
lines changed
  • openmp/tools/multiplex/tests

1 file changed

+1
-1
lines changed

openmp/tools/multiplex/tests/lit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ if 'Linux' in config.operating_system:
9090

9191
# substitutions
9292
config.substitutions.append(("FileCheck", "tee %%t.out | %s" % config.test_filecheck))
93-
config.substitutions.append(("%sort-threads", "sort --numeric-sort --stable"))
93+
config.substitutions.append(("%sort-threads", "sort -n -s"))
9494

9595
config.substitutions.append(("%libomp-compile-and-run", \
9696
"%libomp-compile && %libomp-run"))

0 commit comments

Comments
 (0)