aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorwanderer <mjbecze@gmail.com>2015-01-19 10:54:29 +0800
committerwanderer <mjbecze@gmail.com>2015-01-19 10:54:29 +0800
commitf5ec2470db4c6813f17b8b42204462ea9e4bcd28 (patch)
tree1734f03aa2b3acd940b90d8082c515391fba2b7d /index.js
parentdf335682e4dd64deeb3ac997897c0621773d26cd (diff)
downloaddexon-f5ec2470db4c6813f17b8b42204462ea9e4bcd28.tar
dexon-f5ec2470db4c6813f17b8b42204462ea9e4bcd28.tar.gz
dexon-f5ec2470db4c6813f17b8b42204462ea9e4bcd28.tar.bz2
dexon-f5ec2470db4c6813f17b8b42204462ea9e4bcd28.tar.lz
dexon-f5ec2470db4c6813f17b8b42204462ea9e4bcd28.tar.xz
dexon-f5ec2470db4c6813f17b8b42204462ea9e4bcd28.tar.zst
dexon-f5ec2470db4c6813f17b8b42204462ea9e4bcd28.zip
use require-all
Diffstat (limited to 'index.js')
-rw-r--r--index.js14
1 files changed, 2 insertions, 12 deletions
diff --git a/index.js b/index.js
index 99c19aa13..2ce366c10 100644
--- a/index.js
+++ b/index.js
@@ -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'),