Skip to content

Commit

Permalink
Making the packing of results non-fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
judovana committed Apr 17, 2024
1 parent 43ff003 commit 654477a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ mkdir -p "${jtWork}" "${jtReport}"
$envVarArg \
$FOLDER | tee test.${TIME}/tests.log || r=$?

tar -czf test.${TIME}.tar.gz "${jtWork}" "${jtReport}"
tar -czf test.${TIME}.tar.gz "${jtWork}" "${jtReport}" || echo "Packing of results tarball failed"

popd

if [ ! `readlink -f ${SCRIPT_DIR}` == `pwd` ] ; then
mv ${SCRIPT_DIR}/test.${TIME} .
mv -v ${SCRIPT_DIR}/test.${TIME}.tar.gz .
mv -v ${SCRIPT_DIR}/test.${TIME}.tar.gz . || echo "Moving of results tarball failed"
fi

if ! [ -f test.${TIME}/tests.log ] ; then
Expand Down

0 comments on commit 654477a

Please sign in to comment.