Added level 3 trace compare (trace files diffed)

[ROCm/roctracer commit: 1f33587c29]
이 커밋은 다음에 포함됨:
rkebichi 작성하고 GitHub가 2020-02-07 16:42:39 -05:00를 커밋함
1 부모 df3a037ad9
커밋 2d938a8a8f
1 파일이 변경됨
+11 -1
+11 -1
파일 보기
@@ -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