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

This commit is contained in:
Michael Goderbauer 2017-02-08 13:00:44 -08:00 committed by GitHub
parent 1a741cdbbe
commit 32271e9f3b
10 changed files with 8 additions and 18 deletions

View File

@ -103,7 +103,7 @@ Flutter tests use [package:flutter_test](https://github.com/flutter/flutter/tree
`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 built an engine in the `out/host_debug_unopt` directory, you can pass

View File

@ -1,2 +1,2 @@
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.

View File

@ -7,7 +7,7 @@ import 'dart:io' as system;
import 'package:flutter_test/flutter_test.dart';
// 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() {
test('test smoke test -- this test should fail', () async {

View File

@ -5,7 +5,7 @@
import 'dart:io' as system;
// 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() {
system.Process.killPid(system.pid, system.ProcessSignal.SIGSEGV);

View File

@ -5,7 +5,7 @@
import 'package:flutter_test/flutter_test.dart';
// 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() {
test('test smoke test -- this test SHOULD FAIL', () async {

View File

@ -3,7 +3,7 @@
// found in the LICENSE file.
// 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() {
fail(); // inspired by https://github.com/flutter/flutter/issues/2698

View File

@ -5,7 +5,7 @@
import 'package:flutter_test/flutter_test.dart';
// 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() {
test('test smoke test -- this test should pass', () async {

View File

@ -3,7 +3,7 @@
// found in the LICENSE file.
// 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
If they apologize, no need for further action.

View File

@ -1,5 +0,0 @@
#!/bin/bash
# TODO(goderbauer): delete this when all callsites are updated to travis_setup.sh.
./dev/bots/travis_setup.sh

View File

@ -1,5 +0,0 @@
#!/bin/bash
# TODO(goderbauer): delete this when all callsites are updated to test.dart.
./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart