summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2021-02-23 19:54:45 -0800
committerJubilee Young <workingjubilee@gmail.com>2021-02-24 17:46:29 -0800
commit5c07fcfd1c1333c5e6632ec96e169bd832ac5b57 (patch)
tree0b4480cfcc9b656d7c3512fae3a286a73dde3775
parent104154738c818e48ab0cd25deefe6dd2602afa64 (diff)
downloadrust-libc-5c07fcfd1c1333c5e6632ec96e169bd832ac5b57.tar.gz
Add trace to CI
-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");