- Mar 03, 2017
-
-
Jerome Forissier authored
Since commit 1333db4d ("rootfs: start tee-supplicant on boot"), there is no need to start tee-supplicant from qemu-check.exp. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Victor Chong <victor.chong@linaro.org>
-
- Jan 20, 2017
-
-
Jens Wiklander authored
Update expect script with new name of test the test cases. Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
-
- Oct 18, 2016
-
-
Jerome Forissier authored
When "make check" is run and an assertion fails in TEE core, secure world hangs, and therefore xtest hangs too. "make check" will not report the failure and exit until a timeout occurs (480s). In order to detect the error condition sooner, open the TEE core log file and add a trigger on "assertion ... failed at ...". Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Mar 22, 2016
-
-
Pascal Brand authored
Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
- Jan 25, 2016
-
-
Jerome Forissier authored
Fixes 'make check' error introduced by commit 6f0c0eb9 ("qemu: Add '-machine secure=on' to arguments"). Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org>
-
Victor Chong authored
This is required to move OP-TEE to upstream QEMU. Signed-off-by:
Victor Chong <victor.chong@linaro.org> Suggested-by:
Peter Maydell <peter.maydell@linaro.org> Tested-by:
Victor Chong <victor.chong@linaro.org> Reviewed-by:
Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Sep 09, 2015
-
-
Jerome Forissier authored
The Expect timeout can be passed via make as, for instance: make check TIMEOUT=60 Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
Jerome Forissier authored
* Detect kernel rcu_sched stall + cosmetic improvements * Start QEMU with options '-nographic -monitor none'. Without this, QEMU cannot be run on the Travis servers which have no display. '-monitor none' is needed when '-nographic' is set and one wants to redirect serial port 0 (first occurrence of '-serial stdio'), otherwise a conflict occurs and the following message is shown: qemu-system-arm: -serial stdio: cannot use stdio by multiple character devices * Fix undefined variable error on timeout * Set LD_LIBRARY_PATH. The libraries that come with the compiler sometimes end up under /lib, or under /lib/arm-linx-gnueabihf. By setting LD_LIBRARY_PATH we support both. * Catch kernel panic/timeout on boot to make the script more robust. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Joakim Bech <joakim.bech@linaro.org>
-
- Sep 01, 2015
-
-
Jerome Forissier authored
Adds an Expect script to launch QEMU, run xtest and return a pass/fail status. This makes it even easier to launch non-regression tests and possibly integrate into a CI loop. The script may be invoked through 'make check' or 'make check-only'. The former considers dependencies, while the latter just runs the script. The output of serial ports 0 and 1 are saved to serial0.log and serial1.log, respectively. Expect may be installed with 'sudo apt-get install expect' on Debian/ Ubuntu distributions. Sample output: $ make -j9 check <snip> expect qemu-check.exp -- \ --bios /home/jerome/work/optee_repo/out/bios-qemu/bios.bin Starting QEMU... done, guest is booted. Loading OP-TEE driver and tee-supplicant... done. Running: xtest... ##########################################<snip> Status: PASS (404 test cases) Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org>
-