diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-11-27 09:40:37 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-12-01 17:16:43 -0800 |
commit | 49d7bca8aa06151f2a2e0dd5b4c37a0f9195201a (patch) | |
tree | 3a669b5ab01cf97418aa2c3723aabfeee9117b00 /ci/run.sh | |
parent | f25765fbc15745703fa7456323040280dd72a011 (diff) | |
download | rust-libc-49d7bca8aa06151f2a2e0dd5b4c37a0f9195201a.tar.gz |
Add rumprun CI and get tests passing
Diffstat (limited to 'ci/run.sh')
-rw-r--r-- | ci/run.sh | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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 ;; |