Sync juno_utils.sh with internal CI
Sync scripts with platform-ci commit:
e625758457d115f95f54415bc886bb15961314ad
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Change-Id: Ia825b8ce119743d2ad8a80bce5e07b8a358d4c2e
diff --git a/juno_utils.sh b/juno_utils.sh
index ba24e9c..780054d 100644
--- a/juno_utils.sh
+++ b/juno_utils.sh
@@ -21,7 +21,6 @@
juno_rootfs_url="$linaro_release/linaro-image-minimal-genericarmv8-20170127-888.rootfs.tar.gz"
juno32_rootfs_url="$linaro_release/linaro-image-alip-genericarmv7a-20150710-336.rootfs.tar.gz"
-# FIXME use optee pre-built binaries
get_optee_bin() {
local tmpdir="$(mktempdir)"
@@ -109,4 +108,15 @@
bin_name="tos-fw" src="$tmpdir/bl32.bin" fip_update
}
+juno_manual_test_run() {
+ local zip_dir="$workspace/juno_recovery"
+ local zip_file="${zip_dir}.zip"
+ local tmpdir="$(mktempdir)"
+
+ # $1: test name
+ # $2: timeout (seconds)
+ # $3: log file path
+ $ci_root/script/juno_manual.py console02.remote.oss.arm.com login login $zip_file $tmpdir $1 $2 $3
+}
+
set +u