OLD | NEW |
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 @TestOn("vm") | 5 // Windows doesn't support sending signals. |
| 6 @TestOn("vm && !windows") |
6 | 7 |
7 import 'dart:async'; | 8 import 'dart:async'; |
8 import 'dart:convert'; | 9 import 'dart:convert'; |
9 import 'dart:io'; | 10 import 'dart:io'; |
10 | 11 |
11 import 'package:path/path.dart' as p; | 12 import 'package:path/path.dart' as p; |
12 import 'package:test/test.dart'; | 13 import 'package:test/test.dart'; |
13 import 'package:test/src/util/io.dart'; | 14 import 'package:test/src/util/io.dart'; |
14 | 15 |
15 import '../io.dart'; | 16 import '../io.dart'; |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 }); | 269 }); |
269 }); | 270 }); |
270 }); | 271 }); |
271 } | 272 } |
272 | 273 |
273 Future<Process> _startTest(List<String> args) { | 274 Future<Process> _startTest(List<String> args) { |
274 new Directory(_tempDir).create(); | 275 new Directory(_tempDir).create(); |
275 return startTest(args, workingDirectory: _sandbox, | 276 return startTest(args, workingDirectory: _sandbox, |
276 environment: {"_UNITTEST_TEMP_DIR": _tempDir}); | 277 environment: {"_UNITTEST_TEMP_DIR": _tempDir}); |
277 } | 278 } |
OLD | NEW |