Skip to content

Commit

Permalink
Dump rr_log directly because it's likely to be small
Browse files Browse the repository at this point in the history
  • Loading branch information
rocallahan committed Jul 24, 2024
1 parent 3b5fe10 commit ff7381f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/test/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,11 @@ function debug_lldb_only { expectscript=$1; replayargs=$2
if [[ $? == 0 ]]; then
passed_msg lldb
else
failed "debug script failed (lldb); see `pwd`/lldb_rr.log and `pwd`/test-monitor.output and `pwd`/rr.log"
failed "debug script failed (lldb); see `pwd`/lldb_rr.log and `pwd`/test-monitor.output"
echo "--------------------------------------------------"
echo "rr.log:"
cat rr.log
echo "--------------------------------------------------"
fi
}

Expand All @@ -371,7 +375,11 @@ function debug_gdb_only { expectscript=$1; replayargs=$2
if [[ $? == 0 ]]; then
passed_msg gdb
else
failed "debug script failed (gdb); see `pwd`/gdb_rr.log and `pwd`/test-monitor.output and `pwd`/rr.log"
failed "debug script failed (gdb); see `pwd`/gdb_rr.log and `pwd`/test-monitor.output"
echo "--------------------------------------------------"
echo "rr.log:"
cat rr.log
echo "--------------------------------------------------"
fi
}

Expand Down

0 comments on commit ff7381f

Please sign in to comment.