[tflchef] Show failed tests on test failure (#2602)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 11 Dec 2018 00:42:05 +0000 (09:42 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 11 Dec 2018 00:42:05 +0000 (09:42 +0900)
In this commit, runall in tflchef is revised to show the list of failed
tests on test failure.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/tflchef/tests/runall

index 535119e..0512844 100755 (executable)
@@ -36,6 +36,11 @@ popd
 echo "SUMMARY: ${#PASSED[@]} PASS AND ${#FAILED[@]} FAIL AMONG ${#TESTED[@]} TESTS"
 
 if [[ ${#TESTED[@]} -ne ${#PASSED[@]} ]]; then
+  echo "FAILED"
+  for TEST in "${FAILED[@]}"
+  do
+    echo "- ${TEST}"
+  done
   exit 255
 fi