diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-10-24 08:29:01 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-10-24 08:29:01 +0300 |
commit | 26f1d93d38727992e3dc002f21668909f6f6d2a2 (patch) | |
tree | 174b113fa86331922a977a17030dbffa7346a112 /optee | |
parent | b7db61550d2b3601c13690be0663ce6f799b7a74 (diff) |
optee-os: update template-optee-xtest-qemu.yaml test definition
The test definition has been merged into QA test definitions repository.
We can now use it instead of the inline version.
Change-Id: Iff128162b4e7e84f09a01389344db1a61cd58afb
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'optee')
-rw-r--r-- | optee/os/lava-job-definitions/x86/template-optee-xtest-qemu.yaml | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/optee/os/lava-job-definitions/x86/template-optee-xtest-qemu.yaml b/optee/os/lava-job-definitions/x86/template-optee-xtest-qemu.yaml index 00540f9b6a..5507da4eb5 100644 --- a/optee/os/lava-job-definitions/x86/template-optee-xtest-qemu.yaml +++ b/optee/os/lava-job-definitions/x86/template-optee-xtest-qemu.yaml @@ -50,29 +50,13 @@ actions: prompts: - 'root@intel-core2-32:' -# FIXME until it's merged in https://review.linaro.org/#/c/21855 - test: timeout: minutes: 30 definitions: - - from: inline - repository: - metadata: - format: Lava-Test Test Definition 1.0 - name: optee-xtest-qemu - description: "OP-TEE sanity test suite using QEMU" - run: - steps: - - FILES="bios.bin efi-virtio.rom rootfs.cpio.gz qemu-system-arm tee-header_v2.bin tee-pager_v2.bin zImage" - - QEMU_BIN="qemu-system-arm" - - QEMU_SMP="4" - - dhcp_client=$(which udhcpc) && udhcpc - - for file in ${FILES}; do curl -sLSO ${PUBLISH_SERVER}${PUB_DEST}/${file}; done - - touch tee-pageable_v2.bin - - chmod +x ${QEMU_BIN} - - ${PWD}/${QEMU_BIN} -version - - curl -sLSO https://raw.githubusercontent.com/OP-TEE/build/master/qemu-check.exp - - sed -i -e 's/^log_user.*/log_user 1/' qemu-check.exp - - QEMU=${PWD}/${QEMU_BIN} QEMU_SMP=${QEMU_SMP} expect qemu-check.exp -- --bios bios.bin + - repository: git://git.linaro.org/qa/test-definitions.git + from: git + path: automated/linux/optee/optee-xtest-qemu.yaml name: optee-xtest - path: inline/optee-xtest-qemu.yaml + parameters: + PUBLISH_DEST: ${PUBLISH_SERVER}${PUB_DEST} |