File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 102
102
if (len (opts ) == 0 or (len (opts ) == 1 and "-win" in opts ) or '-extended' in opts
103
103
or testScripts [i ] in opts or re .sub (".py$" , "" , testScripts [i ]) in opts ):
104
104
print "Running testscript " + testScripts [i ] + "..."
105
- subprocess .call (rpcTestDir + testScripts [i ] + " --srcdir " + buildDir + '/src ' + passOn ,shell = True )
105
+ subprocess .check_call (rpcTestDir + testScripts [i ] + " --srcdir " + buildDir + '/src ' + passOn ,shell = True )
106
106
#exit if help is called so we print just one set of instructions
107
107
p = re .compile (" -h| --help" )
108
108
if p .match (passOn ):
113
113
if ('-extended' in opts or testScriptsExt [i ] in opts
114
114
or re .sub (".py$" , "" , testScriptsExt [i ]) in opts ):
115
115
print "Running 2nd level testscript " + testScriptsExt [i ] + "..."
116
- subprocess .call (rpcTestDir + testScriptsExt [i ] + " --srcdir " + buildDir + '/src ' + passOn ,shell = True )
116
+ subprocess .check_call (rpcTestDir + testScriptsExt [i ] + " --srcdir " + buildDir + '/src ' + passOn ,shell = True )
117
117
else :
118
118
print "No rpc tests to run. Wallet, utils, and bitcoind must all be enabled"
You can’t perform that action at this time.
0 commit comments