diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2014-07-08 04:52:12 +0100 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2014-07-08 04:52:12 +0100 |
commit | 49f3ee22d3ac0954d8c9cb8830a3d880ea3194fd (patch) | |
tree | 88117dd9ffdf682afd5edb2cdc12f25f0de82825 /tcwgweb.sh | |
parent | c2ca14a2a748d2a702e2f3598f4827b945076011 (diff) |
Better handle test results from non-BuildFarm jobs
Change-Id: If5382e1460e4c2b931d9afa779faf879a0dcb41d
Diffstat (limited to 'tcwgweb.sh')
-rwxr-xr-x | tcwgweb.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -65,7 +65,8 @@ diffbaseline () local version="`echo $1 | grep -o "[0-9]\.[0-9]*" | head -1`" # local version="`echo $1 | grep -o "[0-9]\.[0-9]*\.[0-9]"`" local target="`basename $1`" - local target="`echo ${target} | sed -e 's:-BuildFarm.*::'`" + # Strip -BuildFarmN from the end of results. Strip just N for other jobs. + local target="`echo ${target} | sed -e 's:-BuildFarm.*::' -e 's:\(-[a-zA-Z]*\)[0-9]\+$:\1:'`" local build="`basename $1`" local build="`echo ${build} | cut -d '-' -f 1`" |