diff options
author | Brad Smith <brad@comstyle.com> | 2023-11-27 13:23:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 13:23:25 -0500 |
commit | e66876f2e05faa82ffee8e3c28cbfe0637193b99 (patch) | |
tree | 9a97b5de3c71c2220b9d61e61972e3c5191bf4af | |
parent | 20406af31ba5996edd4db3b7363ac1a870859929 (diff) | |
download | llvm-e66876f2e05faa82ffee8e3c28cbfe0637193b99.zip llvm-e66876f2e05faa82ffee8e3c28cbfe0637193b99.tar.gz llvm-e66876f2e05faa82ffee8e3c28cbfe0637193b99.tar.bz2 |
[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]
`-----------------------------
-rw-r--r-- | openmp/tools/multiplex/tests/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/tools/multiplex/tests/lit.cfg b/openmp/tools/multiplex/tests/lit.cfg index a637d6f..4592505 100644 --- a/openmp/tools/multiplex/tests/lit.cfg +++ b/openmp/tools/multiplex/tests/lit.cfg @@ -90,7 +90,7 @@ if 'Linux' in config.operating_system: # substitutions config.substitutions.append(("FileCheck", "tee %%t.out | %s" % config.test_filecheck)) -config.substitutions.append(("%sort-threads", "sort --numeric-sort --stable")) +config.substitutions.append(("%sort-threads", "sort -n -s")) config.substitutions.append(("%libomp-compile-and-run", \ "%libomp-compile && %libomp-run")) |