Added level 3 trace compare (trace files diffed)

[ROCm/roctracer commit: 1f33587c29]
Este commit está contenido en:
rkebichi authored and GitHub committed 2020-02-07 16:42:39 -05:00
1 padre df3a037ad9
commit 2d938a8a8f
1 file changed
+11 -1
+11 -1
Ver fichero
@@ -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