diff options
Diffstat (limited to 'RPCTests/main.js')
-rw-r--r-- | RPCTests/main.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/RPCTests/main.js b/RPCTests/main.js index 52f1b408d..fce4327d2 100644 --- a/RPCTests/main.js +++ b/RPCTests/main.js @@ -16,6 +16,12 @@ var dynamic = {}; function cb(){} function main() { +if (!ethpath || !utils.fileExists(ethpath)) +{ + utils.cLog("Executable '" + ethpath + "' not found!"); + utils.cLog("Please, set eth path. Usage: node main.js <ethpath>"); + return; +} testutils.readTestsInFolder(workdir + "/scripts/tests"); async.series([ |