diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2016-02-12 23:50:21 +0530 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2016-02-13 15:48:57 +0530 |
commit | a3fea534e64e87efb76a899f2441f15472f7daea (patch) | |
tree | 671454f3dfa076ba833a7742db80e13ca5941f55 | |
parent | 4410aabb6b58837acc23dd2990be8b92d2c752ca (diff) |
Capture failing gtest for stable builds
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-x | test-art-target-test.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test-art-target-test.sh b/test-art-target-test.sh index 6d4845b..975ede1 100755 --- a/test-art-target-test.sh +++ b/test-art-target-test.sh @@ -18,7 +18,8 @@ if [[ ! -e ./art/tools/buildbot-build.sh ]]; then else cd build/ git reset --hard a465cf681bb5fbc0b5a038302e982aa933a0a8ac - cd - + cd ../system/core; git reset --hard dda68c0fcfe4ced4ae410821c7681f02a2b9aff2 + cd ../../ fi MAKE_START=$(date +%s.%N) @@ -221,6 +222,8 @@ if [[ $failed -ne 0 ]]; then cat $WORKSPACE/build-logs-64.txt | grep -i "FAILED!" >> $WORKSPACE/failed-test.txt grep " FAILED" $WORKSPACE/build-logs-32.txt | grep "^test" | sed -e "s/ FAILED//g" | grep gtest >> $WORKSPACE/failed-test.txt grep " FAILED" $WORKSPACE/build-logs-64.txt | grep "^test" | sed -e "s/ FAILED//g" | grep gtest >> $WORKSPACE/failed-test.txt + grep "\[91mFAILED" $WORKSPACE/build-logs-32.txt | grep "^test" | sed -e "s/ .*//g" | grep gtest >>$WORKSPACE/failed-test.txt + grep "\[91mFAILED" $WORKSPACE/build-logs-64.txt | grep "^test" | sed -e "s/ .*//g" | grep gtest >>$WORKSPACE/failed-test.txt sed -i "s/.*test\///g" $WORKSPACE/failed-test.txt sed -i "s/: FAILED\!//g" $WORKSPACE/failed-test.txt IFS=';' read -r -a ignored_tests <<< $CURRENT_FAILING_ART_TESTS |