]> source.dussan.org Git - jquery.git/commitdiff
Fix #13044: execute all QUnit modules in TestSwarm. Close gh-1074.
authorRichard Gibson <richard.gibson@gmail.com>
Thu, 13 Dec 2012 01:19:18 +0000 (20:19 -0500)
committerDave Methvin <dave.methvin@gmail.com>
Thu, 13 Dec 2012 15:13:50 +0000 (10:13 -0500)
grunt.js
test/unit/selector.js

index 90dd7d69a00722cc110edeba988b43e73842522b..3e384bc45b2d4f6cb9011906acd877f994ef345f 100644 (file)
--- a/grunt.js
+++ b/grunt.js
@@ -106,6 +106,11 @@ module.exports = function( grunt ) {
                qunit: {
                        files: "test/index.html"
                },
+
+               testswarm: {
+                       tests: "ajax attributes callbacks core css data deferred dimensions effects event manipulation offset queue selector serialize support traversing Sizzle".split(" ")
+               },
+
                watch: {
                        files: [
                                "<config:lint.grunt>", "<config:lint.tests>",
@@ -113,6 +118,7 @@ module.exports = function( grunt ) {
                        ],
                        tasks: "dev"
                },
+
                uglify: {
                        codegen: {
                                ascii_only: true
@@ -137,7 +143,7 @@ module.exports = function( grunt ) {
                        testUrls = [],
                        pull = /PR-(\d+)/.exec( commit ),
                        config = grunt.file.readJSON( configFile ).jquery,
-                       tests = "ajax attributes callbacks core css data deferred dimensions effects event manipulation offset queue serialize support traversing Sizzle".split(" ");
+                       tests = grunt.config([ this.name, "tests" ]);
 
                if ( pull ) {
                        jobName = "jQuery pull <a href='https://github.com/jquery/jquery/pull/" +
index 2a7aa39d28596ad6e8a1942f0798e164f4533e87..76c4fbfba07cbf7d1be6ffd0234143e127c4666a 100644 (file)
@@ -1,4 +1,4 @@
-module("selector - jQuery only", { teardown: moduleTeardown });
+module("selector", { teardown: moduleTeardown });
 
 /**
  * This test page is for selector tests that require jQuery in order to do the selection