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

Unified Diff: test/test_util.dart

Issue 1014573003: Adding Travis CI and Coveralls support (Closed) Base URL: https://github.com/dart-lang/dart-dev-compiler.git@master
Patch Set: Created 5 years, 9 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/test_util.dart
diff --git a/test/test_util.dart b/test/test_util.dart
new file mode 100644
index 0000000000000000000000000000000000000000..c8fa36a3c8e89b0ec437506d8433cd7be9037f00
--- /dev/null
+++ b/test/test_util.dart
@@ -0,0 +1,17 @@
+// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+library dev_compiler.test.test_util;
+
+import 'dart:io';
+
+import 'package:unittest/compact_vm_config.dart';
+import 'package:unittest/unittest.dart';
+
+void configureTest() {
+ if (!Platform.environment.containsKey('COVERALLS_TOKEN')) {
+ groupSep = " > ";
+ useCompactVMConfiguration();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698