Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: test/run/forwards_signal_posix_test.dart

Issue 1282533003: Don't implicitly run "pub get". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Windows doesn't support sending signals. 5 // Windows doesn't support sending signals.
6 @TestOn('!windows') 6 @TestOn('!windows')
7 7
8 import 'dart:io'; 8 import 'dart:io';
9 9
10 import '../descriptor.dart' as d; 10 import '../descriptor.dart' as d;
(...skipping 23 matching lines...) Expand all
34 34
35 main() { 35 main() {
36 integration('forwards signals to the inner script', () { 36 integration('forwards signals to the inner script', () {
37 d.dir(appPath, [ 37 d.dir(appPath, [
38 d.appPubspec(), 38 d.appPubspec(),
39 d.dir("bin", [ 39 d.dir("bin", [
40 d.file("script.dart", SCRIPT) 40 d.file("script.dart", SCRIPT)
41 ]) 41 ])
42 ]).create(); 42 ]).create();
43 43
44 var pub = pubRun(args: ["bin/script"], shouldGetFirst: true); 44 pubGet();
45 var pub = pubRun(args: ["bin/script"]);
45 46
46 pub.stdout.expect("ready"); 47 pub.stdout.expect("ready");
47 for (var signal in _catchableSignals) { 48 for (var signal in _catchableSignals) {
48 pub.signal(signal); 49 pub.signal(signal);
49 pub.stdout.expect(signal.toString()); 50 pub.stdout.expect(signal.toString());
50 } 51 }
51 52
52 pub.kill(); 53 pub.kill();
53 }); 54 });
54 } 55 }
OLDNEW
« no previous file with comments | « test/run/app_can_read_from_stdin_test.dart ('k') | test/run/ignores_explicit_dart2js_transformer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698