Skip to content

Commit 273760e

Browse files
George WrightNoamDev
authored andcommitted
Move log_listener call into the reboot trap (flutter#16564)
1 parent ecb802e commit 273760e

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

testing/fuchsia/run_tests.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ else
2525
fi
2626

2727
reboot() {
28+
echo "Dumping system logs..."
29+
30+
./fuchsia_ctl -d $device_name ssh \
31+
-c "log_listener --dump_logs yes"
32+
2833
# note: this will set an exit code of 255, which we can ignore.
2934
./fuchsia_ctl -d $device_name ssh -c "dm reboot-recovery" || true
3035
}
@@ -69,7 +74,3 @@ done
6974
-t shell_tests \
7075
-a "--gtest_filter=-ShellTest.HandlesActualIphoneXsInputEvents:ShellTest.CacheSkSLWorks:ShellTest.SetResourceCacheSize*:ShellTest.Screenshot:ShellTest.WaitForFirstFrameTimeout"
7176

72-
echo "Dumping system logs..."
73-
74-
./fuchsia_ctl -d $device_name ssh \
75-
-c "log_listener --dump_logs yes"

0 commit comments

Comments
 (0)