diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2015-07-30 00:54:00 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-09-08 18:03:49 +0200 |
commit | 2c7e9c934971500a746d012c529e13ec0b560a83 (patch) | |
tree | 474b50d6ac2a343743c40acdf3e5ec440f494690 /build | |
parent | dbb2daa8c3a458e3525d310440f4365548edc138 (diff) | |
download | jquery-2c7e9c934971500a746d012c529e13ec0b560a83.tar.gz jquery-2c7e9c934971500a746d012c529e13ec0b560a83.zip |
Tests: Add simple tests for Android 2.3
Fixes gh-2505
Closes gh-2509
Refs gh-2483
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 |