mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
Change skipped test error code from 99 to 77
Meson uses a venerable GNU convention described in https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html in which: > When no test protocol is in use, an exit status of 0 from a test > script will denote a success, an exit status of 77 a skipped test, an > exit status of 99 a hard error, and any other exit status will denote > a failure. 77 is thus what we want, not 99.
This commit is contained in:
parent
dba1142c01
commit
dcbe2453f5
@ -28,7 +28,7 @@ run_test
|
||||
|
||||
if [[ "$status" = 0 ]]; then
|
||||
echo "$post_run_msg [${green}PASS$normal]"
|
||||
elif [[ "$status" = 99 ]]; then
|
||||
elif [[ "$status" = 77 ]]; then
|
||||
echo "$post_run_msg [${yellow}SKIP$normal]"
|
||||
else
|
||||
echo "$post_run_msg [${red}FAIL$normal]"
|
||||
|
@ -190,7 +190,7 @@ isDaemonNewer () {
|
||||
|
||||
skipTest () {
|
||||
echo "$1, skipping this test..." >&2
|
||||
exit 99
|
||||
exit 77
|
||||
}
|
||||
|
||||
TODO_NixOS() {
|
||||
|
Loading…
Reference in New Issue
Block a user