diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/tasks/testswarm.js | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js index 902b33428..88e883d0f 100644 --- a/build/tasks/testswarm.js +++ b/build/tasks/testswarm.js @@ -3,7 +3,7 @@ module.exports = function( grunt ) { "use strict"; grunt.registerTask( "testswarm", function( commit, configFile, projectName, browserSets, - timeout ) { + timeout, testMode ) { var jobName, config, tests, testswarm = require( "testswarm" ), runs = {}, @@ -29,9 +29,13 @@ module.exports = function( grunt ) { commit + "'>" + commit.substr( 0, 10 ) + "</a>"; } - tests.forEach( function( test ) { - runs[ test ] = config.testUrl + commit + "/test/index.html?module=" + test; - } ); + if ( testMode === "basic" ) { + runs.basic = config.testUrl + commit + "/test/index.html?module=basic"; + } else { + tests.forEach( function( test ) { + runs[ test ] = config.testUrl + commit + "/test/index.html?module=" + test; + } ); + } testswarm.createClient( { url: config.swarmUrl |