summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--expect/crash_passed_test.exp13
1 files changed, 12 insertions, 1 deletions
diff --git a/expect/crash_passed_test.exp b/expect/crash_passed_test.exp
index b0e347cc..d9907e33 100644
--- a/expect/crash_passed_test.exp
+++ b/expect/crash_passed_test.exp
@@ -11,4 +11,15 @@ source [file join [file dirname [info script]] handle-arguments.inc]
# Trusted Firmware boot section
source [file join [file dirname [info script]] trusted-firmware.inc]
-expect_string "Passed nv_counter_test"
+expect_string "Starting platform tests..."
+
+expect {
+ "Platform tests failed." {
+ exit_uart -1
+ }
+ "Platform tests succeeded." {
+ exit_uart 0
+ }
+}
+
+exit_uart -1