Skip to content

Commit

Permalink
optee-xtest.yml: clear storage before executing tests
Browse files Browse the repository at this point in the history
Previously failed tests can leave some data in storage which
fails the tests later on unless data is cleared. --clear-storage
option is new to xtest:

OP-TEE/optee_test#670

See also:

https://gitlab.com/Linaro/trustedsubstrate/meta-ledge-secure/-/merge_requests/60

Ignore return values since the option may not exist in all xtest
versions and it can also report failures.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
  • Loading branch information
mikkorapeli-linaro authored and roxell committed Jun 6, 2023
1 parent aa724f0 commit 287ce86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions automated/linux/optee/optee-xtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ params:
run:
steps:
- cd ./automated/linux/optee/
- xtest --clear-storage || true
- ./optee-xtest.sh -l "${TEST_LEVEL}" -t "${TEST_SUITE}" -s "${SE05X_TOOL}"
- ../../utils/send-to-lava.sh ./output/result.txt

0 comments on commit 287ce86

Please sign in to comment.