mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02: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
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ run_test
|
||||||
|
|
||||||
if [[ "$status" = 0 ]]; then
|
if [[ "$status" = 0 ]]; then
|
||||||
echo "$post_run_msg [${green}PASS$normal]"
|
echo "$post_run_msg [${green}PASS$normal]"
|
||||||
elif [[ "$status" = 99 ]]; then
|
elif [[ "$status" = 77 ]]; then
|
||||||
echo "$post_run_msg [${yellow}SKIP$normal]"
|
echo "$post_run_msg [${yellow}SKIP$normal]"
|
||||||
else
|
else
|
||||||
echo "$post_run_msg [${red}FAIL$normal]"
|
echo "$post_run_msg [${red}FAIL$normal]"
|
||||||
|
|
|
@ -190,7 +190,7 @@ isDaemonNewer () {
|
||||||
|
|
||||||
skipTest () {
|
skipTest () {
|
||||||
echo "$1, skipping this test..." >&2
|
echo "$1, skipping this test..." >&2
|
||||||
exit 99
|
exit 77
|
||||||
}
|
}
|
||||||
|
|
||||||
TODO_NixOS() {
|
TODO_NixOS() {
|
||||||
|
|
Loading…
Reference in a new issue