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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Karma configuration 1 // Karma configuration
2 // Generated on Mon Apr 20 2015 06:33:20 GMT-0700 (PDT) 2 // Generated on Mon Apr 20 2015 06:33:20 GMT-0700 (PDT)
3 3
4 module.exports = function(config) { 4 module.exports = function(config) {
5 var harmony_flags = '--js-flags="' + [ 5 var harmony_flags = '--js-flags="' + [
6 '--harmony', 6 '--harmony',
7 ].join(' ') + '"'; 7 ].join(' ') + '"';
8 8
9 var configuration = { 9 var configuration = {
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 logLevel: config.LOG_INFO, 67 logLevel: config.LOG_INFO,
68 68
69 // enable / disable watching file and executing tests whenever any file chan ges 69 // enable / disable watching file and executing tests whenever any file chan ges
70 autoWatch: true, 70 autoWatch: true,
71 71
72 browserNoActivityTimeout: 60000, 72 browserNoActivityTimeout: 60000,
73 browserDisconnectTolerance: 5, 73 browserDisconnectTolerance: 5,
74 74
75 // start these browsers 75 // start these browsers
76 // available browser launchers: https://npmjs.org/browse/keyword/karma-launc her 76 // available browser launchers: https://npmjs.org/browse/keyword/karma-launc her
77
78 // FIXME(vsm): Once harmony is on by default, we can simply add the followin g:
79 // browsers: ['Chrome'],
80 // and remove the custom launchers.
81 customLaunchers: { 77 customLaunchers: {
82 chrome_harmony: {
83 base: 'Chrome',
84 flags: [ harmony_flags ],
85 },
86
87 chrome_canary_harmony: {
88 base: 'ChromeCanary',
89 flags: [ harmony_flags ],
90 },
91
92 chrome_travis: { 78 chrome_travis: {
93 base: 'Chrome', 79 base: 'Chrome',
94 flags: [ '--no-sandbox', harmony_flags ] 80 flags: [ '--no-sandbox', harmony_flags ]
95 }, 81 },
96 82
97 chrome_canary_travis: { 83 chrome_canary_travis: {
98 base: 'ChromeCanary', 84 base: 'ChromeCanary',
99 flags: [ '--no-sandbox', harmony_flags ] 85 flags: [ '--no-sandbox', harmony_flags ]
100 }, 86 },
101 }, 87 },
102 // TODO(jmesserly): 'chrome_harmony', 88
103 browsers: ['chrome_canary_harmony'], 89 browsers: ['Chrome'],
104 90
105 // Continuous Integration mode 91 // Continuous Integration mode
106 // if true, Karma captures browsers, runs the tests and exits 92 // if true, Karma captures browsers, runs the tests and exits
107 singleRun: false, 93 singleRun: false,
108 }; 94 };
109 95
110 if (process.env.TRAVIS) { 96 if (process.env.TRAVIS) {
111 configuration.browsers = ['chrome_canary_travis']; 97 configuration.browsers = ['chrome_travis', 'chrome_canary_travis'];
112 configuration.autoWatch = false; 98 configuration.autoWatch = false;
113 configuration.logLevel = config.LOG_DEBUG; 99 // Enable this for more logging on Travis. It is too much for Travis to
100 // automatically display, but still results in a downloadable raw log.
101 // configuration.logLevel = config.LOG_DEBUG;
114 configuration.client.captureConsole = true; 102 configuration.client.captureConsole = true;
115 } 103 }
116 104
117 config.set(configuration); 105 config.set(configuration);
118 }; 106 };
OLDNEW
« 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