Remove caching and fix FreeBSD tests
diff --git a/.travis.yml b/.travis.yml
index 4990cb7..9787728 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -94,8 +94,6 @@
# QEMU based targets that compile in an emulator
- env: TARGET=x86_64-unknown-freebsd
-cache: cargo
-
notifications:
email:
on_success: never
diff --git a/ci/run.sh b/ci/run.sh
index ddf18fd..a4d0a97 100755
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -41,8 +41,8 @@
# Do the standard rigamarole of cross-compiling an executable and then the
# script to run just executes the binary.
- cargo build --manifest-path libc-test/Cargo.toml --target $TARGET
- cp $CARGO_TARGET_DIR/$TARGET/debug/libc-test $tmpdir/mount/
+ cargo build --manifest-path libc-test/Cargo.toml --target $TARGET --tests
+ cp $CARGO_TARGET_DIR/$TARGET/debug/main-* $tmpdir/mount/libc-test
echo 'exec $1/libc-test' > $tmpdir/mount/run.sh
du -sh $tmpdir/mount