Merge "bootstat: test: duration fixes" am: 5126ce99de am: b684bd4e6a
am: abaaa9e6a5
Change-Id: I8f9ad48f6cbe3593aab96af4277775f4d7ceacff
diff --git a/bootstat/boot_reason_test.sh b/bootstat/boot_reason_test.sh
index 7a45e4d..209e81b 100755
--- a/bootstat/boot_reason_test.sh
+++ b/bootstat/boot_reason_test.sh
@@ -70,6 +70,8 @@
false
else
echo "ERROR: '${TEST}' test requires userdebug build, skipping FAILURE"
+ duration_prefix="~"
+ duration_estimate=1
false
fi >&2
}
@@ -130,6 +132,8 @@
return ${save_ret}
fi
echo "ERROR: '${TEST}' test requires functional pstore, skipping FAILURE"
+ duration_prefix="~"
+ duration_estimate=1
fi >&2
}
@@ -792,7 +796,7 @@
- adb shell getprop sys.boot.reason
- NB: should report shutdown,thermal" ]
test_thermal_shutdown() {
- durtion_test ">60"
+ duration_test ">60"
echo " power on request" >&2
adb shell setprop sys.powerctl shutdown,thermal
sleep 5