1
0
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:
deadc0de6
2020-11-08 13:47:20 +01:00
parent ce261c85de
commit a49bc9762c

View File

@@ -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}