Move log_listener call into the reboot trap (flutter/engine#16564)

This commit is contained in:
George Wright
2020-02-12 15:09:38 -08:00
committed by GitHub
parent 771bdcccec
commit 27d74ce8b4

View File

@@ -25,6 +25,11 @@ else
fi
reboot() {
echo "Dumping system logs..."
./fuchsia_ctl -d $device_name ssh \
-c "log_listener --dump_logs yes"
# note: this will set an exit code of 255, which we can ignore.
./fuchsia_ctl -d $device_name ssh -c "dm reboot-recovery" || true
}
@@ -69,7 +74,3 @@ done
-t shell_tests \
-a "--gtest_filter=-ShellTest.HandlesActualIphoneXsInputEvents:ShellTest.CacheSkSLWorks:ShellTest.SetResourceCacheSize*:ShellTest.Screenshot:ShellTest.WaitForFirstFrameTimeout"
echo "Dumping system logs..."
./fuchsia_ctl -d $device_name ssh \
-c "log_listener --dump_logs yes"