diff --git a/ci/run.sh b/ci/run.sh index 6fb059d2..314ea088 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 b8030c41..e14dba32 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");