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

Unified Diff: test/io.dart

Issue 983573002: Add support for running browser tests to the test runner. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: test/io.dart
diff --git a/test/io.dart b/test/io.dart
index 950e25370118ef390c0f133509f8ed52de17fd55..c92ec938df7c3f2fc21455aee9b78748d3d2d535 100644
--- a/test/io.dart
+++ b/test/io.dart
@@ -5,7 +5,6 @@
library unittest.test.io;
import 'dart:io';
-import 'dart:mirrors';
import 'package:path/path.dart' as p;
import 'package:unittest/src/util/io.dart';
@@ -17,7 +16,7 @@ final String packageDir = p.dirname(p.dirname(libraryPath(#unittest.test.io)));
ProcessResult runUnittest(List<String> args, {String workingDirectory,
Map<String, String> environment}) {
var allArgs = [
- p.join(packageDir, 'bin/unittest.dart'),
+ p.absolute(p.join(packageDir, 'bin/unittest.dart')),
"--package-root=${p.join(packageDir, 'packages')}"
]..addAll(args);

Powered by Google App Engine
This is Rietveld 408576698