File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh -eu
22
3+ echo " Starting Docker AppImage tests..." >&2
4+
35mkdir aitest-context # empty build context
46./UltraGrid-" $VERSION " -x86_64.AppImage --appimage-extract
57
@@ -27,7 +29,19 @@ for n in $test_list; do
2729 name=$( printf " %s" " $n " | tr -c ' [:alnum:]' ' [_*]' ) # replace :. with _ for valid identifer
2830 eval " ${name} _pid" =$!
2931done
32+
33+ set +e
34+ rc=0
3035for n in $test_list ; do
3136 name=$( printf " %s" " $n " | tr -c ' [:alnum:]' ' [_*]' )
32- eval wait " \$ ${name} _pid"
37+ if eval wait " \$ ${name} _pid" ; then
38+ echo " Docker AppImage test $name succeeded" >&2
39+ else
40+ rc=$?
41+ echo " Docker AppImage test $name FAILED with error code $rc " >&2
42+ fi
3343done
44+ if [ $rc -ne 0 ]; then
45+ exit $rc
46+ fi
47+ echo " All Docker AppImage tests succeeded" >&2
You can’t perform that action at this time.
0 commit comments