Add time display to debug Kokoro timeout

pull/21457/head
Muxi Yan 5 years ago
parent c9378dff85
commit 7202029386
  1. 3
      test/cpp/ios/build_and_run_tests.sh
  2. 5
      test/cpp/ios/verbose_time.sh

@ -22,7 +22,7 @@ cd "$(dirname "$0")"
echo "TIME: $(date)"
./build_tests.sh
./build_tests.sh | ./verbose_time.sh
echo "TIME: $(date)"
@ -35,5 +35,6 @@ xcodebuild \
-scheme CronetTests \
-destination name="iPhone 8" \
test \
| ./verbose_time.sh
| egrep -v "$XCODEBUILD_FILTER" \
| egrep -v '^$' -

@ -0,0 +1,5 @@
#!/bin/bash
while IFS= read -r line; do
echo "$(date) - $line"
done
Loading…
Cancel
Save