mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add logs between fuchsia test steps. (#17584)
* Add logs between fuchsia test steps. Adding logs and date time in between steps will simplify finding the steps that are failing during the fuchsia tests. https://github.com/flutter/flutter/issues/54253 * Use date command instead of DATE.. * Remove extra log line. * Same spacer lenght for all the log lines.
This commit is contained in:
parent
6c1d0af360
commit
e7e4633613
@ -36,14 +36,19 @@ reboot() {
|
||||
|
||||
trap reboot EXIT
|
||||
|
||||
echo "$(date) START:PAVING ------------------------------------------"
|
||||
./fuchsia_ctl -d $device_name pave -i $1
|
||||
echo "$(date) END:PAVING --------------------------------------------"
|
||||
|
||||
echo "$(date) START:WAIT_DEVICE_READY -------------------------------"
|
||||
for i in {1..10}; do
|
||||
./fuchsia_ctl -d $device_name ssh -c "echo up" && break || sleep 15;
|
||||
done
|
||||
echo "$(date) END:WAIT_DEVICE_READY ---------------------------------"
|
||||
|
||||
# TODO(gw280): Enable tests using JIT runner
|
||||
|
||||
echo "$(date) START:flutter_runner_tests ----------------------------"
|
||||
./fuchsia_ctl -d $device_name test \
|
||||
-f flutter_aot_runner-0.far \
|
||||
-f flutter_runner_tests-0.far \
|
||||
@ -58,23 +63,26 @@ done
|
||||
|
||||
# TODO(https://github.com/flutter/flutter/issues/50032) Enable after the
|
||||
# Fuchsia message loop migration is complete.
|
||||
echo "$(date) START:fml_tests ---------------------------------------"
|
||||
./fuchsia_ctl -d $device_name test \
|
||||
-f fml_tests-0.far \
|
||||
-t fml_tests \
|
||||
-a "--gtest_filter=-MessageLoop*:Message*:FileTest*"
|
||||
|
||||
echo "$(date) START:flow_tests --------------------------------------"
|
||||
./fuchsia_ctl -d $device_name test \
|
||||
-f flow_tests-0.far \
|
||||
-t flow_tests
|
||||
|
||||
echo "$(date) START:runtime_tests -----------------------------------"
|
||||
./fuchsia_ctl -d $device_name test \
|
||||
-f runtime_tests-0.far \
|
||||
-t runtime_tests
|
||||
|
||||
# TODO(https://github.com/flutter/flutter/issues/53399): Re-enable
|
||||
# OnServiceProtocolGetSkSLsWorks once it passes on Fuchsia.
|
||||
echo "$(date) START:shell_tests -------------------------------------"
|
||||
./fuchsia_ctl -d $device_name test \
|
||||
-f shell_tests-0.far \
|
||||
-t shell_tests \
|
||||
-a "--gtest_filter=-ShellTest.CacheSkSLWorks:ShellTest.SetResourceCacheSize*:ShellTest.OnServiceProtocolGetSkSLsWorks"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user