aboutsummaryrefslogtreecommitdiff
path: root/tcwgweb.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2014-07-08 04:52:12 +0100
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2014-07-08 04:52:12 +0100
commit49f3ee22d3ac0954d8c9cb8830a3d880ea3194fd (patch)
tree88117dd9ffdf682afd5edb2cdc12f25f0de82825 /tcwgweb.sh
parentc2ca14a2a748d2a702e2f3598f4827b945076011 (diff)
Better handle test results from non-BuildFarm jobs
Change-Id: If5382e1460e4c2b931d9afa779faf879a0dcb41d
Diffstat (limited to 'tcwgweb.sh')
-rwxr-xr-xtcwgweb.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcwgweb.sh b/tcwgweb.sh
index 665295c6..2b49057a 100755
--- a/tcwgweb.sh
+++ b/tcwgweb.sh
@@ -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`"