summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2016-02-10 11:09:03 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2016-02-11 15:33:05 +0530
commit26370e831aced04c470f344be74f37efff94f99d (patch)
tree704e957becb7db439c2ced1c00a978a579bf870b
parent259d46054d2527120b167f1af1259308cdaf45de (diff)
test-art-target-test: explicitly point out failing test
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xtest-art-target-test.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/test-art-target-test.sh b/test-art-target-test.sh
index d00c0f7..c315112 100755
--- a/test-art-target-test.sh
+++ b/test-art-target-test.sh
@@ -227,11 +227,7 @@ if [[ $failed -ne 0 ]]; then
while read p; do
if ! grep -i $p $WORKSPACE/ignored_tests.txt; then
actually_failed=1
- if echo $p | grep gtest; then
- echo "gtest test has failed"
- else
- echo "run-test test has failed"
- fi
+ export failing_tests="$failing_tests $p"
fi
done < $WORKSPACE/failed-test.txt
@@ -240,6 +236,7 @@ if [[ $failed -ne 0 ]]; then
echo "*********** Battery LEVEL *****************"
out/host/linux-x86/bin/adb shell dumpsys battery
if [[ $actually_failed -ne 0 ]]; then
+ echo "$failing_tests tests have failed"
exit 1
fi
exit 0