Increase timeout even more for gcstress/debug/target.
Move it to 24 minutes as it's still failing on the bots.
Also print the entire vogar command before running.
Test: run-libcore-tests.sh
Change-Id: I6165327cf0bd5e7cbff768a70d2d79480aab1c6a
diff --git a/tools/run-libcore-tests.sh b/tools/run-libcore-tests.sh
index 240d63c..2d39b2a 100755
--- a/tools/run-libcore-tests.sh
+++ b/tools/run-libcore-tests.sh
@@ -157,7 +157,7 @@
# timeout when being asked to run packages, and some tests go above
# the default timeout.
if $gcstress && $debug && $device_mode; then
- vogar_args="$vogar_args --timeout 960"
+ vogar_args="$vogar_args --timeout 1440"
else
vogar_args="$vogar_args --timeout 480"
fi
@@ -195,4 +195,7 @@
# Run the tests using vogar.
echo "Running tests for the following test packages:"
echo ${working_packages[@]} | tr " " "\n"
-vogar $vogar_args $expectations $(cparg $DEPS) ${working_packages[@]}
+
+cmd="vogar $vogar_args $expectations $(cparg $DEPS) ${working_packages[@]}"
+echo "Running $cmd"
+eval $cmd