diff options
author | wanderer <mjbecze@gmail.com> | 2015-01-19 10:54:29 +0800 |
---|---|---|
committer | wanderer <mjbecze@gmail.com> | 2015-01-19 10:54:29 +0800 |
commit | f5ec2470db4c6813f17b8b42204462ea9e4bcd28 (patch) | |
tree | 1734f03aa2b3acd940b90d8082c515391fba2b7d | |
parent | df335682e4dd64deeb3ac997897c0621773d26cd (diff) | |
download | go-tangerine-f5ec2470db4c6813f17b8b42204462ea9e4bcd28.tar.gz go-tangerine-f5ec2470db4c6813f17b8b42204462ea9e4bcd28.tar.zst go-tangerine-f5ec2470db4c6813f17b8b42204462ea9e4bcd28.zip |
use require-all
-rw-r--r-- | index.js | 14 | ||||
-rw-r--r-- | package.json | 5 |
2 files changed, 6 insertions, 13 deletions
@@ -10,18 +10,8 @@ module.exports = { trieanyorder: require('./TrieTests/trieanyorder') }, txtest: require('./BasicTests/txtest'), - StateTests: { - stExample: require('./StateTests/stExample.json'), - stInitCodeTest: require('./StateTests/stInitCodeTest.json'), - stLogTests: require('./StateTests/stLogTests.json'), - stPreCompiledContracts: require('./StateTests/stPreCompiledContracts'), - stRecursiveCreate: require('./StateTests/stRecursiveCreate'), - stRefundTest: require('./StateTests/stRefundTest'), - stSpecial: require('./StateTests/stSpecialTest'), - stSystemOperationsTest: require('./StateTests/stSystemOperationsTest'), - stTransactionTest: require('./StateTests/stTransactionTest') - }, - VMTests: { + stateTests: require('require-all')(__dirname + '/StateTests/'), + vmTests: { vmRandom: require('./VMTests/RandomTests/randomTest'), vmArithmeticTest: require('./VMTests/vmArithmeticTest'), vmBitwiseLogicOperationTest: require('./VMTests/vmBitwiseLogicOperationTest'), diff --git a/package.json b/package.json index eb0841450..c066bd1b5 100644 --- a/package.json +++ b/package.json @@ -19,5 +19,8 @@ "bugs": { "url": "https://github.com/ethereum/tests/issues" }, - "homepage": "https://github.com/ethereum/tests" + "homepage": "https://github.com/ethereum/tests", + "dependencies": { + "require-all": "^1.0.0" + } } |