mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
34 lines
1.1 KiB
Bash
Executable File
34 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o pipefail -e;
|
|
|
|
# TODO(dnfield): Re-enable this when the upstream Dart changes that make it not be flaky land.
|
|
# out/host_debug_unopt/embedder_unittests
|
|
out/host_debug_unopt/flow_unittests
|
|
out/host_debug_unopt/fml_unittests --gtest_filter="-*TimeSensitiveTest*"
|
|
out/host_debug_unopt/runtime_unittests
|
|
out/host_debug_unopt/shell_unittests
|
|
out/host_debug_unopt/synchronization_unittests
|
|
out/host_debug_unopt/txt_unittests --font-directory=flutter/third_party/txt/third_party/fonts
|
|
|
|
pushd flutter/testing/dart
|
|
pub get
|
|
popd
|
|
|
|
run_test () {
|
|
out/host_debug_unopt/dart out/host_debug_unopt/gen/frontend_server.dart.snapshot --sdk-root out/host_debug_unopt/flutter_patched_sdk --incremental --strong --target=flutter --packages flutter/testing/dart/.packages --output-dill out/host_debug_unopt/engine_test.dill $1
|
|
out/host_debug_unopt/flutter_tester --disable-observatory --use-test-fonts out/host_debug_unopt/engine_test.dill
|
|
}
|
|
|
|
# Verify that a failing test returns a failure code.
|
|
! run_test flutter/testing/fail_test.dart
|
|
|
|
for TEST_SCRIPT in flutter/testing/dart/*.dart; do
|
|
run_test $TEST_SCRIPT
|
|
done
|
|
|
|
pushd flutter
|
|
ci/test.sh
|
|
popd
|
|
exit 0
|