Skip to content

Commit

Permalink
Removed outdated runAll() tests message, replaced npm test run comman…
Browse files Browse the repository at this point in the history
…d with info msg pointing to more specific commands
  • Loading branch information
holgerd77 committed Feb 11, 2019
1 parent 79b846a commit b5e1b47
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
4 changes: 0 additions & 4 deletions docs/developer.md
Expand Up @@ -11,10 +11,6 @@ or the associated YouTube video introduction to [core development with Ethereumj

#### Running different Test Types

Running all the tests:

`npm test`

Running the State tests:

`node ./tests/tester -s`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -18,7 +18,7 @@
"testBlockchain": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --fork='Constantinople' --dist --excludeDir='GeneralStateTests'",
"testBlockchainGeneralStateTests": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --dist --dir='GeneralStateTests'",
"testAPI": "tape ./tests/api/*.js",
"test": "node ./tests/tester -a",
"test": "echo \"[INFO] Generic test cmd not used. See package.json for more specific test run cmds.\"",
"lint": "standard",
"prepublishOnly": "npm run lint && npm run build:dist && npm run testBuildIntegrity",
"build:dist": "babel lib/ -d dist/",
Expand Down
14 changes: 0 additions & 14 deletions tests/tester.js
@@ -1,7 +1,6 @@
#!/usr/bin/env node

const argv = require('minimist')(process.argv.slice(2))
const async = require('async')
const tape = require('tape')
const testing = require('ethereumjs-testing')
const FORK_CONFIG = argv.fork || 'Byzantium'
Expand Down Expand Up @@ -115,8 +114,6 @@ if (argv.r) {
runTests('VMTests', argv)
} else if (argv.b) {
runTests('BlockchainTests', argv)
} else if (argv.a) {
runAll()
}

// randomized tests
Expand Down Expand Up @@ -244,14 +241,3 @@ function runTests (name, runnerArgs, cb) {
})
}
}

function runAll () {
require('./tester.js')
require('./genesishashes.js')
require('./constantinopleSstoreTest.js')
async.series([
// runTests.bind(this, 'VMTests', {}), // VM tests disabled since we don't support Frontier gas costs
runTests.bind(this, 'GeneralStateTests', {}),
runTests.bind(this, 'BlockchainTests', {})
])
}

0 comments on commit b5e1b47

Please sign in to comment.