aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/ethereum/ethash/test/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Godeps/_workspace/src/github.com/ethereum/ethash/test/test.sh')
-rw-r--r--Godeps/_workspace/src/github.com/ethereum/ethash/test/test.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/Godeps/_workspace/src/github.com/ethereum/ethash/test/test.sh b/Godeps/_workspace/src/github.com/ethereum/ethash/test/test.sh
index fd3508609..71e53d978 100644
--- a/Godeps/_workspace/src/github.com/ethereum/ethash/test/test.sh
+++ b/Godeps/_workspace/src/github.com/ethereum/ethash/test/test.sh
@@ -14,11 +14,8 @@ TEST_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
echo -e "\n################# Testing JS ##################"
# TODO: Use mocha and real testing tools instead of rolling our own
cd $TEST_DIR/../js
-if [ -x "$(which nodejs)" ] ; then
- nodejs test.js
-fi
-if [ -x "$(which node)" ] ; then
- node test.js
+if [ -x "$(which npm)" ] ; then
+ npm test
fi
echo -e "\n################# Testing C ##################"