diff options
Diffstat (limited to 'build/tasks/lib/spawn_test.js')
-rw-r--r-- | build/tasks/lib/spawn_test.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/build/tasks/lib/spawn_test.js b/build/tasks/lib/spawn_test.js deleted file mode 100644 index 146155411..000000000 --- a/build/tasks/lib/spawn_test.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict"; - -// Run Node with provided parameters: the first one being the Grunt -// done function and latter ones being files to be tested. -// See the comment in ../node_smoke_tests.js for more information. -module.exports = function spawnTest( done, command ) { - var spawn = require( "child_process" ).spawn; - - spawn( command, { - stdio: "inherit", - shell: true - } ) - .on( "close", function( code ) { - done( code === 0 ); - } ); -}; |