use require-all
This commit is contained in:
parent
df335682e4
commit
f5ec2470db
14
index.js
14
index.js
@ -10,18 +10,8 @@ module.exports = {
|
|||||||
trieanyorder: require('./TrieTests/trieanyorder')
|
trieanyorder: require('./TrieTests/trieanyorder')
|
||||||
},
|
},
|
||||||
txtest: require('./BasicTests/txtest'),
|
txtest: require('./BasicTests/txtest'),
|
||||||
StateTests: {
|
stateTests: require('require-all')(__dirname + '/StateTests/'),
|
||||||
stExample: require('./StateTests/stExample.json'),
|
vmTests: {
|
||||||
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: {
|
|
||||||
vmRandom: require('./VMTests/RandomTests/randomTest'),
|
vmRandom: require('./VMTests/RandomTests/randomTest'),
|
||||||
vmArithmeticTest: require('./VMTests/vmArithmeticTest'),
|
vmArithmeticTest: require('./VMTests/vmArithmeticTest'),
|
||||||
vmBitwiseLogicOperationTest: require('./VMTests/vmBitwiseLogicOperationTest'),
|
vmBitwiseLogicOperationTest: require('./VMTests/vmBitwiseLogicOperationTest'),
|
||||||
|
@ -19,5 +19,8 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/ethereum/tests/issues"
|
"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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user