22# Copyright (c) 2014-2016 The Bitcoin Core developers
33# Distributed under the MIT software license, see the accompanying
44# file COPYING or http://www.opensource.org/licenses/mit-license.php.
5- """
6- rpc-tests.py - run regression test suite
5+ """Run regression test suite.
76
87This module calls down into individual test cases via subprocess. It will
98forward all unrecognized arguments onto the individual test scripts.
109
1110Functional tests are disabled on Windows by default. Use --force to run them anyway.
1211
1312For a description of arguments recognized by test scripts, see
14- `test/pull-tester /test_framework/test_framework.py:BitcoinTestFramework.main`.
13+ `test/functional /test_framework/test_framework.py:BitcoinTestFramework.main`.
1514
1615"""
1716
8786
8887ZMQ_SCRIPTS = [
8988 # ZMQ test can only be run if bitcoin was built with zmq-enabled.
90- # call rpc_tests .py with -nozmq to explicitly exclude these tests.
89+ # call test_runner .py with -nozmq to explicitly exclude these tests.
9190 "zmq_test.py" ]
9291
9392EXTENDED_SCRIPTS = [
127126def main ():
128127 # Parse arguments and pass through unrecognised args
129128 parser = argparse .ArgumentParser (add_help = False ,
130- usage = '%(prog)s [rpc-test .py options] [script options] [scripts]' ,
129+ usage = '%(prog)s [test_runner .py options] [script options] [scripts]' ,
131130 description = __doc__ ,
132131 epilog = '''
133132 Help text and arguments for individual test script:''' ,
@@ -147,7 +146,7 @@ def main():
147146
148147 # Read config generated by configure.
149148 config = configparser .ConfigParser ()
150- config .read_file (open (os .path .dirname (__file__ ) + "/tests_config .ini" ))
149+ config .read_file (open (os .path .dirname (__file__ ) + "/config .ini" ))
151150
152151 enable_wallet = config ["components" ].getboolean ("ENABLE_WALLET" )
153152 enable_utils = config ["components" ].getboolean ("ENABLE_UTILS" )
@@ -200,11 +199,11 @@ def main():
200199
201200 if not test_list :
202201 print ("No valid test scripts specified. Check that your test is in one "
203- "of the test lists in rpc-tests .py, or run rpc-tests .py with no arguments to run all tests" )
202+ "of the test lists in test_runner .py, or run test_runner .py with no arguments to run all tests" )
204203 sys .exit (0 )
205204
206205 if args .help :
207- # Print help for rpc-tests .py, then print help of the first script and exit.
206+ # Print help for test_runner .py, then print help of the first script and exit.
208207 parser .print_help ()
209208 subprocess .check_call ((config ["environment" ]["SRCDIR" ] + '/test/functional/' + test_list [0 ]).split () + ['-h' ])
210209 sys .exit (0 )
@@ -325,7 +324,7 @@ def get_next(self):
325324
326325class RPCCoverage (object ):
327326 """
328- Coverage reporting utilities for pull-tester .
327+ Coverage reporting utilities for test_runner .
329328
330329 Coverage calculation works by having each test script subprocess write
331330 coverage files into a particular directory. These files contain the RPC
0 commit comments