summaryrefslogtreecommitdiff
path: root/ci/run.sh
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-11-27 09:40:37 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-12-01 17:16:43 -0800
commit49d7bca8aa06151f2a2e0dd5b4c37a0f9195201a (patch)
tree3a669b5ab01cf97418aa2c3723aabfeee9117b00 /ci/run.sh
parentf25765fbc15745703fa7456323040280dd72a011 (diff)
downloadrust-libc-49d7bca8aa06151f2a2e0dd5b4c37a0f9195201a.tar.gz
Add rumprun CI and get tests passing
Diffstat (limited to 'ci/run.sh')
-rw-r--r--ci/run.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/ci/run.sh b/ci/run.sh
index 635422cd75..4f3b84c72d 100644
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -21,9 +21,9 @@ case "$TARGET" in
arm-linux-androideabi)
emulator @arm-18 -no-window &
adb wait-for-device
- adb push libc-test/target/$TARGET/debug/libc-test /data/libc-test
- adb shell /data/libc-test 2>&1 | tee out
- grep "^PASSED .* tests" out
+ adb push /tmp/$TARGET/debug/libc-test /data/libc-test
+ adb shell /data/libc-test 2>&1 | tee /tmp/out
+ grep "^PASSED .* tests" /tmp/out
;;
arm-unknown-linux-gnueabihf)
@@ -39,6 +39,14 @@ case "$TARGET" in
libc-test/target/$TARGET/debug/libc-test
;;
+ *-rumprun-netbsd)
+ rumprun-bake hw_virtio /tmp/libc-test.img /tmp/$TARGET/debug/libc-test
+ qemu-system-x86_64 -nographic -vga none -m 64 \
+ -kernel /tmp/libc-test.img 2>&1 | tee /tmp/out &
+ sleep 5
+ grep "^PASSED .* tests" /tmp/out
+ ;;
+
*-apple-ios)
libc-test/target/$TARGET/debug/libc-test
;;