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

Side by Side Diff: karma.conf.js

Issue 1879373004: Implement modular compilation (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
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 configuration = { 5 var configuration = {
6 6
7 // base path that will be used to resolve all patterns (eg. files, exclude) 7 // base path that will be used to resolve all patterns (eg. files, exclude)
8 basePath: '', 8 basePath: '',
9 9
10 // frameworks to use 10 // frameworks to use
11 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter 11 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
12 frameworks: ['mocha', 'requirejs', 'chai'], 12 frameworks: ['mocha', 'requirejs', 'chai'],
13 13
14 // list of files / patterns to load in the browser 14 // list of files / patterns to load in the browser
15 files: [ 15 files: [
16 'lib/runtime/dart_*.js', 16 'lib/runtime/dart_*.js',
17 'lib/runtime/dart/*.js', 17 'lib/runtime/dart/*.js',
18 // {pattern: 'test/browser/*.js', included: false} 18 // {pattern: 'test/browser/*.js', included: false}
19 'test/codegen/expect/async_helper/async_helper.js', 19 'test/codegen/expect/async_helper/async_helper.js',
20 'test/codegen/expect/dom/dom.js', 20 'test/codegen/expect/dom/dom.js',
21 'test/codegen/expect/expect/expect.js', 21 'test/codegen/expect/expect/expect.js',
22 'test/codegen/expect/matcher/matcher.js', 22 'test/codegen/expect/matcher/matcher.js',
23 'test/codegen/expect/matcher/src/*.js',
24 'test/codegen/expect/unittest/unittest.js', 23 'test/codegen/expect/unittest/unittest.js',
25 'test/codegen/expect/syncstar_syntax.js', 24 'test/codegen/expect/syncstar_syntax.js',
26 'test/codegen/expect/language-all.js', 25 'test/codegen/expect/language-all.js',
27 'test/codegen/expect/language/sub/sub.js', 26 'test/codegen/expect/language/sub/sub.js',
28 'test/codegen/expect/language/*.lib', 27 'test/codegen/expect/language/*.lib',
29 'test/codegen/expect/lib-typed_data-all.js', 28 'test/codegen/expect/lib-typed_data-all.js',
30 'test/browser/*.js', 29 'test/browser/*.js',
31 'test-main.js', 30 'test-main.js',
32 ], 31 ],
33 32
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 base: 'Chrome', 74 base: 'Chrome',
76 flags: [ '--no-sandbox' ] 75 flags: [ '--no-sandbox' ]
77 }, 76 },
78 77
79 chrome_canary_travis: { 78 chrome_canary_travis: {
80 base: 'ChromeCanary', 79 base: 'ChromeCanary',
81 flags: [ '--no-sandbox' ] 80 flags: [ '--no-sandbox' ]
82 }, 81 },
83 }, 82 },
84 83
85 browsers: ['ChromeCanary', 'Electron'], 84 browsers: ['Chrome', 'Electron'],
vsm 2016/04/14 00:18:24 This should work now with the patch I suggested.
Jennifer Messerly 2016/04/14 18:28:40 Ah yeah, I'll try that. Not related to this revie
86 85
87 // Continuous Integration mode 86 // Continuous Integration mode
88 // if true, Karma captures browsers, runs the tests and exits 87 // if true, Karma captures browsers, runs the tests and exits
89 singleRun: false, 88 singleRun: false,
90 }; 89 };
91 90
92 if (process.env.TRAVIS) { 91 if (process.env.TRAVIS) {
93 configuration.browsers = ['chrome_canary_travis', 'Electron']; 92 configuration.browsers = ['chrome_canary_travis', 'Electron'];
94 configuration.autoWatch = false; 93 configuration.autoWatch = false;
95 // Enable this for more logging on Travis. It is too much for Travis to 94 // Enable this for more logging on Travis. It is too much for Travis to
96 // automatically display, but still results in a downloadable raw log. 95 // automatically display, but still results in a downloadable raw log.
97 // configuration.logLevel = config.LOG_DEBUG; 96 // configuration.logLevel = config.LOG_DEBUG;
98 configuration.client.captureConsole = true; 97 configuration.client.captureConsole = true;
99 } 98 }
100 99
101 config.set(configuration); 100 config.set(configuration);
102 }; 101 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698