diff options
author | Dimitry <dimitry@ethdev.com> | 2017-03-14 21:51:10 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethdev.com> | 2017-03-14 21:51:10 +0800 |
commit | 4684c32e8aa8882049e864c5c0edd399a137c7b0 (patch) | |
tree | a0d62f9961e510e2041581354b23375e153c1f95 /RPCTests/main.js | |
parent | eb245faed55fe482b3eb47d451c3b67b01bd72fb (diff) | |
download | tangerine-tests-4684c32e8aa8882049e864c5c0edd399a137c7b0.tar tangerine-tests-4684c32e8aa8882049e864c5c0edd399a137c7b0.tar.gz tangerine-tests-4684c32e8aa8882049e864c5c0edd399a137c7b0.tar.bz2 tangerine-tests-4684c32e8aa8882049e864c5c0edd399a137c7b0.tar.lz tangerine-tests-4684c32e8aa8882049e864c5c0edd399a137c7b0.tar.xz tangerine-tests-4684c32e8aa8882049e864c5c0edd399a137c7b0.tar.zst tangerine-tests-4684c32e8aa8882049e864c5c0edd399a137c7b0.zip |
check eth path
remove unneeded packages
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([ |