From a423d87417ac189290aef73ce3c178ce9b641b1a Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Wed, 13 Feb 2019 18:04:10 +0100 Subject: [PATCH] Re-enable debug output in dox.sh and remove unused variable in runtest --- ci/dox.sh | 1 + ci/runtest-android.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/dox.sh b/ci/dox.sh index 96f517b789e25..3456288a3791d 100644 --- a/ci/dox.sh +++ b/ci/dox.sh @@ -39,6 +39,7 @@ line=$(grep -n '
' $README | cut -d ":" -f 1) set +x { head -n "$((line-1))" $README; cat $PLATFORM_SUPPORT; tail -n "+$((line+1))" $README; } > $TARGET_DOC_DIR/$README +set -x # If we're on travis, not a PR, and on the right branch, publish! if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then diff --git a/ci/runtest-android.rs b/ci/runtest-android.rs index 18d39bfdfe89c..b8030c41a7f6f 100644 --- a/ci/runtest-android.rs +++ b/ci/runtest-android.rs @@ -38,7 +38,7 @@ fn main() { String::from_utf8_lossy(&output.stderr)); let stdout = String::from_utf8_lossy(&output.stdout); - let passed = stdout.lines().find(|l| + stdout.lines().find(|l| (l.starts_with("PASSED ") && l.contains(" tests")) || l.starts_with("test result: ok") ).unwrap_or_else(|| {