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 18, 2024
1 parent 6e98425 commit c58abb7
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 @@ -137,13 +137,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 c58abb7

Please sign in to comment.