From 7c7602b49cfd331ce8bd2368f0a6eeb5a27765bd Mon Sep 17 00:00:00 2001 From: Golmote Date: Thu, 5 Apr 2018 09:05:22 +0200 Subject: [PATCH] Test suite: Delete unused run-child.js file --- tests/run-child.js | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 tests/run-child.js diff --git a/tests/run-child.js b/tests/run-child.js deleted file mode 100644 index 91c467b8b2..0000000000 --- a/tests/run-child.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; - -var TestCase = require("./helper/test-case"); -var path = require("path"); -var argv = require("yargs").argv; - -if (argv.language) { - process.on('message', function (data) { - if (data.filePath) { - try { - if (path.extname(data.filePath) === '.test') { - TestCase.runTestCase(argv.language, data.filePath); - } else { - TestCase.runTestsWithHooks(argv.language, require(data.filePath)); - } - process.send({success: true}); - } catch (e) { - process.send({error: JSON.stringify({ - message: e.message, - stack: e.stack - })}); - } - } - }); -} \ No newline at end of file