tests/kvm: Properly capture the test status code
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2862>
This commit is contained in:
parent
a41c83be4f
commit
8ab2cbedd7
1 changed files with 3 additions and 2 deletions
|
@ -17,6 +17,7 @@ mkdir -p -m 700 $XDG_RUNTIME_DIR
|
|||
|
||||
glib-compile-schemas $GSETTINGS_SCHEMA_DIR
|
||||
|
||||
"$WRAPPER" $WRAPPER_ARGS "${@:4}"
|
||||
status=0
|
||||
"$WRAPPER" $WRAPPER_ARGS "${@:4}" || status=$?
|
||||
|
||||
echo $? > $TEST_RESULT
|
||||
echo $status > $TEST_RESULT
|
||||
|
|
Loading…
Add table
Reference in a new issue