Skip to content

Commit

Permalink
commenting code related to dumping logs for failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rasamala83 committed Jun 8, 2023
1 parent ca45f06 commit 79acd62
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions tests/unittest/testall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@ do
then
#grep ^ *.log
echo "Retry failed, exit code" $rv
echo "======================================== $d Tests Failed. Start of logs ======================================="
log_file="hera.log"
if [ -f "$log_file" ]; then
cat "$log_file"
else
echo "Log file: ${log_file} does not exist."
fi
log_file="occ.log"
if [ -f "$log_file" ]; then
cat "$log_file"
else
echo "Log file: ${log_file} does not exist."
fi
echo "======================================== End of logs for $d test=================================================="
#echo "======================================== $d Tests Failed. Start of logs ======================================="
#log_file="hera.log"
#if [ -f "$log_file" ]; then
# cat "$log_file"
#else
# echo "Log file: ${log_file} does not exist."
#fi
#log_file="occ.log"
#if [ -f "$log_file" ]; then
# cat "$log_file"
#else
# echo "Log file: ${log_file} does not exist."
#fi
#echo "======================================== End of logs for $d test=================================================="
popd
overall=1
continue
Expand Down

0 comments on commit 79acd62

Please sign in to comment.