Move log_listener call into the reboot trap (flutter/engine#16564)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user