Make test runners support execution runtimes (#2360)
If the result of a build is not directly executable on the host system or needs an execution runtime for any other reason (e.g., cross-compiled ARM binaries on Intel, emscripten-generated JS files, binaries built with Valgrind support) then the current test runners cannot work with them. This patch makes test runners execute binaries via a runtime given in the `$RUNTIME` environment variable (if it is specified). JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
+1
-1
@@ -38,8 +38,8 @@ matrix:
|
||||
- env:
|
||||
- JOBNAME="Linux/ARM Build & Correctness Tests"
|
||||
- OPTS="--quiet --jerry-tests --jerry-test-suite --toolchain=cmake/toolchain_linux_armv7l.cmake"
|
||||
- RUNTIME=qemu-arm-static
|
||||
- TIMEOUT=300
|
||||
sudo: true # keep on sudo-enabled VM to allow qemu to register itself to binfmt_misc
|
||||
addons:
|
||||
apt:
|
||||
packages: [gcc-arm-linux-gnueabihf, libc6-dev-armhf-cross, qemu-user-static]
|
||||
|
||||
Reference in New Issue
Block a user