Skip to content

Commit 0dac936

Browse files
tomleahvirkt25
authored andcommitted
add: ppc64 and s390x to not run UI tests
1 parent 5ee731e commit 0dac936

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Gruntfile.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,9 @@ module.exports = function(grunt) {
226226
});
227227
});
228228

229-
grunt.registerTask('skip-karma-on-windows', function() {
230-
console.log('*** SKIPPING PHANTOM-JS BASED TESTS ON WINDOWS ***');
229+
grunt.registerTask('skip-karma', function() {
230+
console.log(`*** SKIPPING PHANTOM-JS BASED TESTS ON ${process.platform}` +
231+
` ${process.arch} ***`);
231232
});
232233

233234
grunt.registerTask('e2e', ['e2e-server', 'karma:e2e']);
@@ -238,8 +239,9 @@ module.exports = function(grunt) {
238239
grunt.registerTask('test', [
239240
'eslint',
240241
process.env.JENKINS_HOME ? 'mochaTest:unit-xml' : 'mochaTest:unit',
241-
process.env.JENKINS_HOME && /^win/.test(process.platform) ?
242-
'skip-karma-on-windows' : 'karma:unit-once',
242+
process.env.JENKINS_HOME && (/^win/.test(process.platform) ||
243+
/^s390x/.test(process.arch) || /^ppc64/.test(process.arch)) ?
244+
'skip-karma' : 'karma:unit-once',
243245
]);
244246

245247
// alias for sl-ci-run and `npm test`

0 commit comments

Comments
 (0)