Added level 3 trace compare (trace files diffed)

[ROCm/roctracer commit: 1f33587c29]
Tá an tiomantas seo le fáil i:
rkebichi údaraithe agus GitHub tiomanta 2020-02-07 16:42:39 -05:00
1 tuismitheoir df3a037ad9
tiomantas 2d938a8a8f
1 comhad athraithe
+11 -1
+11 -1
Féach ar an gComhad
@@ -92,7 +92,17 @@ eval_test() {
echo "$label: FAILED (trace compare, events order)"
test_status=$(($test_status + 1))
fi
;;
;;
"3")
echo "Comparing $trace $rtrace :"
eval "diff --brief $trace $rtrace"
if [ $? != 0 ] ; then
echo "$label: FAILED (trace compare, files differ)"
test_status=$(($test_status + 1))
else
echo "$label: PASSED (trace compare, files are the same)"
fi
;;
esac
fi
fi