summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xci/run.sh2
-rw-r--r--ci/runtest-android.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/ci/run.sh b/ci/run.sh
index 6fb059d2ea..314ea088c6 100755
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -121,6 +121,6 @@ else
cargo test $opt --manifest-path libc-test/Cargo.toml --target "${TARGET}"
- cargo test $opt --features extra_traits --manifest-path libc-test/Cargo.toml \
+ RUST_BACKTRACE=1 cargo test $opt --features extra_traits --manifest-path libc-test/Cargo.toml \
--target "${TARGET}"
fi
diff --git a/ci/runtest-android.rs b/ci/runtest-android.rs
index b8030c41a7..e14dba322c 100644
--- a/ci/runtest-android.rs
+++ b/ci/runtest-android.rs
@@ -27,6 +27,7 @@ fn main() {
let output = Command::new("adb")
.arg("shell")
+ .arg("RUST_BACKTRACE=1")
.arg(&dst)
.output()
.expect("failed to run: adb shell");