Ticket #2542: 2542.8.diff
File 2542.8.diff, 1.5 KB (added by , 9 years ago) |
---|
-
Gruntfile.js
263 285 264 286 // Build tasks. 265 287 grunt.registerTask( 'build', [ 'clean:all', 'copy:files', 'cssjanus:core', 'cssmin:ltr', 'cssmin:rtl', 'colors', 'cssjanus:colors', 'cssmin:colors','uglify:core', 'jsvalidate:build' ] ); 266 grunt.registerTask( 'build-release', [ 'clean:all', 'copy:files', 'cssjanus:core', 'cssmin:ltr', 'cssmin:rtl', 'colors', 'cssjanus:colors', 'cssmin:colors','uglify:core', 'jsvalidate:build', 'phpunit :all' ] );288 grunt.registerTask( 'build-release', [ 'clean:all', 'copy:files', 'cssjanus:core', 'cssmin:ltr', 'cssmin:rtl', 'colors', 'cssjanus:colors', 'cssmin:colors','uglify:core', 'jsvalidate:build', 'phpunit' ] ); 267 289 268 290 // Testing tasks. 269 291 grunt.registerMultiTask( 'phpunit', 'Runs PHPUnit tests, including the ajax and multisite tests.', function() { -
tests/phpunit/multisite.xml
1 <phpunit 2 bootstrap="bootstrap.php" 3 backupGlobals="false" 4 colors="true" 5 convertErrorsToExceptions="true" 6 convertNoticesToExceptions="true" 7 convertWarningsToExceptions="true" 8 > 9 <php> 10 <const name="WP_TESTS_MULTISITE" value="1" /> 11 </php> 12 <testsuites> 13 <testsuite> 14 <directory suffix=".php">./testcases/</directory> 15 </testsuite> 16 </testsuites> 17 </phpunit>