mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Remove deprecated setup.sh and test.sh (#7976)
This commit is contained in:
parent
1a741cdbbe
commit
32271e9f3b
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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 {
|
||||
|
@ -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);
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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.
|
||||
|
@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# TODO(goderbauer): delete this when all callsites are updated to travis_setup.sh.
|
||||
|
||||
./dev/bots/travis_setup.sh
|
@ -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
|
Loading…
Reference in New Issue
Block a user