From 1daa1063c5b280ab864fb6d0942c431d42b9c296 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 18 May 2018 10:51:24 +0200 Subject: [PATCH] tests: keep strerr totally clean on successful runs Debian's autopkgtest defaults to considering any output on stderr as a sign that the tests failed. it is simple to make this achieve that standard, so it seems worth it for now at least. --- tests/run-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-tests b/tests/run-tests index cad3bf90..16ecfdb9 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -112,7 +112,7 @@ fi # allow the location of aapt to be overridden if [ -z $aapt ]; then - aapt=`ls -1 $ANDROID_HOME/build-tools/*/aapt | sort | tail -1` + aapt=`ls -1 $ANDROID_HOME/build-tools/*/aapt 2> /dev/null | sort | tail -1` fi # try to use GNU sed on OSX/BSD cuz BSD sed sucks