mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 03:14:15 +00:00
run test in fg
This commit is contained in:
3
tests.sh
3
tests.sh
@@ -49,9 +49,8 @@ unset DOTDROP_FORCE_NODEBUG
|
||||
for scr in tests-ng/*.sh; do
|
||||
logfile="${logdir}/`basename ${scr}`.log"
|
||||
echo "-> running test ${scr} (logfile:${logfile})"
|
||||
${scr} > "${logfile}" 2>&1 &
|
||||
set +e
|
||||
wait "$!"
|
||||
${scr} > "${logfile}" 2>&1
|
||||
if [ "$?" -ne 0 ]; then
|
||||
echo "test ${scr} finished with error"
|
||||
cat ${logfile}
|
||||
|
||||
Reference in New Issue
Block a user