Commit 32271e9f authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Remove deprecated setup.sh and test.sh (#7976)

parent 1a741cdb
...@@ -103,7 +103,7 @@ Flutter tests use [package:flutter_test](https://github.com/flutter/flutter/tree ...@@ -103,7 +103,7 @@ Flutter tests use [package:flutter_test](https://github.com/flutter/flutter/tree
`flutter test` runs tests inside the flutter shell. `flutter test` runs tests inside the flutter shell.
To run all the tests for the entire Flutter repository, the same way that Travis runs them, run `dev/bots/test.sh`. To run all the tests for the entire Flutter repository, the same way that Travis runs them, run `dart dev/bots/test.dart`.
If you've built [your own flutter engine](#working-on-the-engine-and-the-framework-at-the-same-time), you can pass `--local-engine` to change what flutter shell `flutter test` uses. For example, If you've built [your own flutter engine](#working-on-the-engine-and-the-framework-at-the-same-time), you can pass `--local-engine` to change what flutter shell `flutter test` uses. For example,
if you built an engine in the `out/host_debug_unopt` directory, you can pass if you built an engine in the `out/host_debug_unopt` directory, you can pass
......
This directory is used by //flutter/dev/bots/test.sh to verify that This directory is used by //flutter/dev/bots/test.dart to verify that
`flutter test` actually correctly fails when a test fails. `flutter test` actually correctly fails when a test fails.
...@@ -7,7 +7,7 @@ import 'dart:io' as system; ...@@ -7,7 +7,7 @@ import 'dart:io' as system;
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
// this is a test to make sure our tests consider engine crashes to be failures // this is a test to make sure our tests consider engine crashes to be failures
// see //flutter/dev/bots/test.sh // see //flutter/dev/bots/test.dart
void main() { void main() {
test('test smoke test -- this test should fail', () async { test('test smoke test -- this test should fail', () async {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
import 'dart:io' as system; import 'dart:io' as system;
// this is a test to make sure our tests consider engine crashes to be failures // this is a test to make sure our tests consider engine crashes to be failures
// see //flutter/dev/bots/test.sh // see //flutter/dev/bots/test.dart
void main() { void main() {
system.Process.killPid(system.pid, system.ProcessSignal.SIGSEGV); system.Process.killPid(system.pid, system.ProcessSignal.SIGSEGV);
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
// this is a test to make sure our tests actually catch failures // this is a test to make sure our tests actually catch failures
// see //flutter/dev/bots/test.sh // see //flutter/dev/bots/test.dart
void main() { void main() {
test('test smoke test -- this test SHOULD FAIL', () async { test('test smoke test -- this test SHOULD FAIL', () async {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// this is a test to make sure our tests consider syntax errors to be failures // this is a test to make sure our tests consider syntax errors to be failures
// see //flutter/dev/bots/test.sh // see //flutter/dev/bots/test.dart
void main() { void main() {
fail(); // inspired by https://github.com/flutter/flutter/issues/2698 fail(); // inspired by https://github.com/flutter/flutter/issues/2698
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
// this is a test to make sure our tests actually catch failures // this is a test to make sure our tests actually catch failures
// see //flutter/dev/bots/test.sh // see //flutter/dev/bots/test.dart
void main() { void main() {
test('test smoke test -- this test should pass', () async { test('test smoke test -- this test should pass', () async {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// this is a test to make sure our tests consider syntax errors to be failures // this is a test to make sure our tests consider syntax errors to be failures
// see //flutter/dev/bots/test.sh // see //flutter/dev/bots/test.dart
The challenge: demand satisfaction The challenge: demand satisfaction
If they apologize, no need for further action. If they apologize, no need for further action.
#!/bin/bash
# TODO(goderbauer): delete this when all callsites are updated to travis_setup.sh.
./dev/bots/travis_setup.sh
#!/bin/bash
# TODO(goderbauer): delete this when all callsites are updated to test.dart.
./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment