Skip to content
Snippets Groups Projects
Commit 089b2877 authored by an7s's avatar an7s
Browse files

Check divergence on stderr

parent b11d8f88
No related branches found
No related tags found
No related merge requests found
......@@ -26,13 +26,28 @@ do
if [ ! -z replay.baseline/stdout.$input ];
then
if [ ! $? -eq 0 ]; then
echo "ps_validate.sh: divergence detected for input $i"
echo "ps_validate.sh: divergence detected for input $i (stdout)"
echo "Baseline file:"
echo "Baseline file (stdout):"
cat replay.baseline/stdout.$input
echo "Output stdout:$input.$fn:"
cat stdout.$input.$fn
echo "Output stdout (stdout):$input:"
cat stdout.$input
exit 1
fi
fi
if [ ! -z replay.baseline/stderr.$input ];
then
if [ ! $? -eq 0 ]; then
echo "ps_validate.sh: divergence detected for input $i (stderr)"
echo "Baseline file (stderr):"
cat replay.baseline/stderr.$input
echo "Output stderr (stderr):$input:"
cat stderr.$input
exit 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment