From ba35362876caa03b11c7ce777d959b99accbcfb0 Mon Sep 17 00:00:00 2001 From: wanderer Date: Sun, 19 Oct 2014 23:59:47 -0400 Subject: turned tests into a node module --- index.js | 23 +++++++++++++++++++++++ package.json | 23 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 index.js create mode 100644 package.json diff --git a/index.js b/index.js new file mode 100644 index 000000000..84615a482 --- /dev/null +++ b/index.js @@ -0,0 +1,23 @@ +module.exports = { + blockgenesis: require('./blockgenesistest'), + genesishashes: require('./genesishashestest'), + hexencode: require('./hexencodetest'), + keyaddrtests: require('./keyaddrtest'), + namecoin: require('./namecoin'), + rlptest: require('./rlptest'), + trietest: require('./trietest'), + trietestnextprev: require('./trietestnextprev'), + txtest: require('./txtest'), + vmtests: { + random: require('./vmtests/random'), + vmArithmeticTest: require('./vmtests/vmArithmeticTest'), + vmBitwiseLogicOperationTest: require('./vmtests/vmBitwiseLogicOperationTest'), + vmBlockInfoTest: require('./vmtests/vmBlockInfoTest'), + vmEnvironmentalInfoTest: require('./vmtests/vmEnvironmentalInfoTest'), + vmIOandFlowOperationsTest: require('./vmtests/vmIOandFlowOperationsTest'), + vmPushDupSwapTest: require('./vmtests/vmPushDupSwapTest'), + vmSha3Test: require('./vmtests/vmSha3Test'), + vmSystemOperationsTest: require('./vmtests/vmSystemOperationsTest'), + vmtests: require('./vmtests/vmtests') + } +}; diff --git a/package.json b/package.json new file mode 100644 index 000000000..5a58a4579 --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "name": "ethrereum-tests", + "version": "0.0.0", + "description": "tests for ethereum", + "main": "index.js", + "scripts": { + "test": "echo \"There are no tests for there tests\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://github.com/ethereum/tests" + }, + "keywords": [ + "tests", + "ethereum" + ], + "author": "", + "license": "MIT", + "bugs": { + "url": "https://github.com/ethereum/tests/issues" + }, + "homepage": "https://github.com/ethereum/tests" +} -- cgit v1.2.3