Force tty allocation when running toybox tests.
Bug: http://b/142798587
Test: treehugger
Change-Id: I61cdb2c237e61246f271558197a4ac11e8639c4e
diff --git a/run-tests-on-android.sh b/run-tests-on-android.sh
index 9f9da7f..d85cca3 100755
--- a/run-tests-on-android.sh
+++ b/run-tests-on-android.sh
@@ -17,14 +17,15 @@
green="\033[1;32m"
red="\033[1;31m"
plain="\033[0m"
- dash_t="-t"
else
green=""
red=""
plain=""
- dash_t=""
fi
+# Force pty allocation (http://b/142798587).
+dash_t="-tt"
+
test_toy() {
toy=$1
@@ -61,12 +62,7 @@
elif [ "$non_toy" = "true" ]; then
non_toy_failures="$non_toy_failures $toy"
else
- if [ "$toy" = "pidof" ]; then
- # cuttlefish is currently broken (http://b/142798587)
- non_toy_failures="$non_toy_failures $toy"
- else
- failures="$failures $toy"
- fi
+ failures="$failures $toy"
fi
}