Collect exit codes
This commit is contained in:
parent
70509e5b02
commit
80d388ebff
2 changed files with 18 additions and 10 deletions
|
|
@ -4,8 +4,12 @@ root=$(dirname "${BASH_SOURCE[0]}")
|
||||||
|
|
||||||
source "$root/helpers.sh"
|
source "$root/helpers.sh"
|
||||||
|
|
||||||
run_script "$root/build-with-drm.sh"
|
rc=0
|
||||||
run_script "$root/test-version-matches-meson-and-changelog.sh"
|
|
||||||
run_script "$root/test-uses-fb-backend-by-default.sh"
|
run_script "$root/build-with-drm.sh" || rc=1
|
||||||
run_script "$root/test-uses-fb-backend-if-selected-via-config.sh"
|
run_script "$root/test-version-matches-meson-and-changelog.sh" || rc=1
|
||||||
run_script "$root/test-uses-drm-backend-if-selected-via-config-and-available.sh"
|
run_script "$root/test-uses-fb-backend-by-default.sh" || rc=1
|
||||||
|
run_script "$root/test-uses-fb-backend-if-selected-via-config.sh" || rc=1
|
||||||
|
run_script "$root/test-uses-drm-backend-if-selected-via-config-and-available.sh" || rc=1
|
||||||
|
|
||||||
|
exit $rc
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,12 @@ root=$(dirname "${BASH_SOURCE[0]}")
|
||||||
|
|
||||||
source "$root/helpers.sh"
|
source "$root/helpers.sh"
|
||||||
|
|
||||||
run_script "$root/build-without-drm.sh"
|
rc=0
|
||||||
run_script "$root/test-version-matches-meson-and-changelog.sh"
|
|
||||||
run_script "$root/test-uses-fb-backend-by-default.sh"
|
run_script "$root/build-without-drm.sh" || rc=1
|
||||||
run_script "$root/test-uses-fb-backend-if-selected-via-config.sh"
|
run_script "$root/test-version-matches-meson-and-changelog.sh" || rc=1
|
||||||
run_script "$root/test-uses-fb-backend-if-drm-selected-via-config-but-unavailable.sh"
|
run_script "$root/test-uses-fb-backend-by-default.sh" || rc=1
|
||||||
|
run_script "$root/test-uses-fb-backend-if-selected-via-config.sh" || rc=1
|
||||||
|
run_script "$root/test-uses-fb-backend-if-drm-selected-via-config-but-unavailable.sh" || rc=1
|
||||||
|
|
||||||
|
exit $rc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue