Skip to content

Commit 8657d37

Browse files
wanderercdetrio
authored andcommitted
update tester to obey the skip list
1 parent f2db9a8 commit 8657d37

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"babel-preset-es2015": "^6.24.0",
1919
"babelify": "^7.3.0",
2020
"ethereumjs-blockchain": "^1.4.1",
21-
"ethereumjs-testing": "1.0.2",
21+
"ethereumjs-testing": "1.0.3",
2222
"ethereumjs-tx": "1.1.0",
2323
"level": "^1.4.0",
2424
"leveldown": "^1.4.6",

tests/tester.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const skip = [
2727
'ForkUncle', // correct behaviour unspecified (?)
2828
'UncleFromSideChain', // same as ForkUncle, the TD is the same for two diffent branches so its not clear which one should be the finally chain
2929
'bcSimpleTransitionTest', // HF stuff
30-
'loop_mul' // ain't nobody need loops
30+
'loop-mul' // ain't nobody need loops
3131
]
3232

3333
if (argv.r) {
@@ -77,6 +77,11 @@ function randomized (stateTest) {
7777
}
7878

7979
function runTests (name, args, cb) {
80+
// setup skipe function
81+
args.testFn = (name) => {
82+
return skip.includes(name)
83+
}
84+
8085
tape(name, t => {
8186
const runner = require(`./${name}Runner.js`)
8287
testing.getTestsFromArgs(name, (fileName, testName, test) => {

0 commit comments

Comments
 (0)