diff --git a/testing/fuchsia/run_tests.sh b/testing/fuchsia/run_tests.sh index 3cb3bc074bdca..c4c2f34a2eb4c 100755 --- a/testing/fuchsia/run_tests.sh +++ b/testing/fuchsia/run_tests.sh @@ -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"