about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-01-28 13:38:06 -0800
committerAlex Crichton <alex@alexcrichton.com>2017-01-29 14:16:41 -0800
commit1747ce25ad122e1b330eeb1eaf4e2d67f10b355d (patch)
tree71b78ecd424e16aa1055f1686550e2d88fc91628 /configure
parent4be49e1937e25cc9c78d7758e095046563052dec (diff)
downloadrust-1747ce25ad122e1b330eeb1eaf4e2d67f10b355d.tar.gz
rust-1747ce25ad122e1b330eeb1eaf4e2d67f10b355d.zip
Add support for test suites emulated in QEMU
This commit adds support to the build system to execute test suites that cannot
run natively but can instead run inside of a QEMU emulator. A proof-of-concept
builder was added for the `arm-unknown-linux-gnueabihf` target to show off how
this might work.

In general the architecture is to have a server running inside of the emulator
which a local client connects to. The protocol between the server/client
supports compiling tests on the host and running them on the target inside the
emulator.

Closes #33114
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 505767cede5..49b5275d3ff 100755
--- a/configure
+++ b/configure
@@ -684,6 +684,7 @@ valopt musl-root-arm "" "arm-unknown-linux-musleabi install directory"
 valopt musl-root-armhf "" "arm-unknown-linux-musleabihf install directory"
 valopt musl-root-armv7 "" "armv7-unknown-linux-musleabihf install directory"
 valopt extra-filename "" "Additional data that is hashed and passed to the -C extra-filename flag"
+valopt qemu-armhf-rootfs "" "rootfs in qemu testing, you probably don't want to use this"
 
 if [ -e ${CFG_SRC_DIR}.git ]
 then