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

Unified Diff: karma.conf.js

Issue 1507343013: Run tests on Chrome stable by default (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « no previous file | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: karma.conf.js
diff --git a/karma.conf.js b/karma.conf.js
index 69d16e5242c784d595bc65c05120bbe14e93b154..d028c1e260f741d18ad92943ca065fbbaf1de027 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -74,21 +74,7 @@ module.exports = function(config) {
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
-
- // FIXME(vsm): Once harmony is on by default, we can simply add the following:
- // browsers: ['Chrome'],
- // and remove the custom launchers.
customLaunchers: {
- chrome_harmony: {
- base: 'Chrome',
- flags: [ harmony_flags ],
- },
-
- chrome_canary_harmony: {
- base: 'ChromeCanary',
- flags: [ harmony_flags ],
- },
-
chrome_travis: {
base: 'Chrome',
flags: [ '--no-sandbox', harmony_flags ]
@@ -99,8 +85,8 @@ module.exports = function(config) {
flags: [ '--no-sandbox', harmony_flags ]
},
},
- // TODO(jmesserly): 'chrome_harmony',
- browsers: ['chrome_canary_harmony'],
+
+ browsers: ['Chrome'],
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
@@ -108,9 +94,11 @@ module.exports = function(config) {
};
if (process.env.TRAVIS) {
- configuration.browsers = ['chrome_canary_travis'];
+ configuration.browsers = ['chrome_travis', 'chrome_canary_travis'];
configuration.autoWatch = false;
- configuration.logLevel = config.LOG_DEBUG;
+ // Enable this for more logging on Travis. It is too much for Travis to
+ // automatically display, but still results in a downloadable raw log.
+ // configuration.logLevel = config.LOG_DEBUG;
configuration.client.captureConsole = true;
}
« no previous file with comments | « no previous file | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698