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

Side by Side Diff: karma.conf.js

Issue 1521283003: Run browser tests on Atom/Electron (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/runtime/dart_library.js » ('j') | lib/runtime/dart_library.js » ('J')
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 10 matching lines...) Expand all
21 'lib/runtime/_*.js', 21 'lib/runtime/_*.js',
22 'lib/runtime/dart/*.js', 22 'lib/runtime/dart/*.js',
23 // {pattern: 'test/browser/*.js', included: false} 23 // {pattern: 'test/browser/*.js', included: false}
24 'test/codegen/expect/async_helper/async_helper.js', 24 'test/codegen/expect/async_helper/async_helper.js',
25 'test/codegen/expect/dom/dom.js', 25 'test/codegen/expect/dom/dom.js',
26 'test/codegen/expect/expect/expect.js', 26 'test/codegen/expect/expect/expect.js',
27 'test/codegen/expect/matcher/matcher.js', 27 'test/codegen/expect/matcher/matcher.js',
28 'test/codegen/expect/matcher/src/*.js', 28 'test/codegen/expect/matcher/src/*.js',
29 'test/codegen/expect/unittest/unittest.js', 29 'test/codegen/expect/unittest/unittest.js',
30 'test/codegen/expect/syncstar_syntax.js', 30 'test/codegen/expect/syncstar_syntax.js',
31 'test/codegen/expect/language/*.js', 31 'test/codegen/expect/language-all.js',
vsm 2015/12/14 01:15:07 Karma ships each file as a separate script tag. F
32 'test/codegen/expect/language/sub/sub.js', 32 'test/codegen/expect/language/sub/sub.js',
33 'test/codegen/expect/language/*.lib', 33 'test/codegen/expect/language/*.lib',
34 'test/browser/*.js', 34 'test/browser/*.js',
35 'test-main.js', 35 'test-main.js',
36 ], 36 ],
37 37
38 // list of files to exclude 38 // list of files to exclude
39 exclude: [ 39 exclude: [
40 ], 40 ],
41 41
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 base: 'Chrome', 79 base: 'Chrome',
80 flags: [ '--no-sandbox', harmony_flags ] 80 flags: [ '--no-sandbox', harmony_flags ]
81 }, 81 },
82 82
83 chrome_canary_travis: { 83 chrome_canary_travis: {
84 base: 'ChromeCanary', 84 base: 'ChromeCanary',
85 flags: [ '--no-sandbox', harmony_flags ] 85 flags: [ '--no-sandbox', harmony_flags ]
86 }, 86 },
87 }, 87 },
88 88
89 browsers: ['Chrome'], 89 browsers: ['ChromeCanary', 'Electron'],
90 90
91 // Continuous Integration mode 91 // Continuous Integration mode
92 // if true, Karma captures browsers, runs the tests and exits 92 // if true, Karma captures browsers, runs the tests and exits
93 singleRun: false, 93 singleRun: false,
94 }; 94 };
95 95
96 if (process.env.TRAVIS) { 96 if (process.env.TRAVIS) {
97 configuration.browsers = ['chrome_canary_travis']; 97 configuration.browsers = ['chrome_canary_travis', 'Electron'];
98 configuration.autoWatch = false; 98 configuration.autoWatch = false;
99 // Enable this for more logging on Travis. It is too much for Travis to 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. 100 // automatically display, but still results in a downloadable raw log.
101 // configuration.logLevel = config.LOG_DEBUG; 101 // configuration.logLevel = config.LOG_DEBUG;
102 configuration.client.captureConsole = true; 102 configuration.client.captureConsole = true;
103 } 103 }
104 104
105 config.set(configuration); 105 config.set(configuration);
106 }; 106 };
OLDNEW
« no previous file with comments | « no previous file | lib/runtime/dart_library.js » ('j') | lib/runtime/dart_library.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698