diff options
author | Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> | 2019-07-23 19:02:39 +0530 |
---|---|---|
committer | Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> | 2019-07-30 08:15:33 +0000 |
commit | 9f1f21fc5dff273cd0ec16487f03c12fa6107940 (patch) | |
tree | f81fecd66bcc5aee04924f33dca1726bd992dcd0 /tcwg_gnu-build.sh | |
parent | be80894db06e6c4ac0208949e0ef786f289fc8d9 (diff) |
Add testsuite comparison to tcwg_gnu.
Change-Id: Ia90cf7cc357ffca1ec4d414db8988efdc6cea03a
Diffstat (limited to 'tcwg_gnu-build.sh')
-rwxr-xr-x | tcwg_gnu-build.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tcwg_gnu-build.sh b/tcwg_gnu-build.sh index b701dc55..36fd0326 100755 --- a/tcwg_gnu-build.sh +++ b/tcwg_gnu-build.sh @@ -97,6 +97,19 @@ no_regression_p () return 1 fi + local sumfiles_base=$ref_artifacts/sumfiles + local sumfiles_new=$new_artifacts/sumfiles + + if [ ! -d $sumfiles_base -o ! -d $sumfiles_new ]; then + return 1 + fi + + local res=$(gcc/contrib/compare_tests $sumfiles_base $sumfiles_new) + + if [ $res -ne 0]; then + return 1 + fi + return 0 ) } |