diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2010-05-27 21:53:40 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2010-05-27 21:53:40 -0300 |
commit | ca887764aefbf478773fc21adc2bf2ec5916a4a1 (patch) | |
tree | 6b9b2d9743988c1ac49979f90e504bcb4d61f49a /scripts | |
parent | Added tests to g_octave/config.py (tests/test_config.py) (diff) | |
download | g-octave-ca887764aefbf478773fc21adc2bf2ec5916a4a1.tar.gz g-octave-ca887764aefbf478773fc21adc2bf2ec5916a4a1.tar.bz2 g-octave-ca887764aefbf478773fc21adc2bf2ec5916a4a1.zip |
small fix in the script that run the tests (scripts/run_tests.py) to allow the use of auxiliary python
files.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run_tests.py b/scripts/run_tests.py index b9a048b..f839953 100755 --- a/scripts/run_tests.py +++ b/scripts/run_tests.py @@ -29,7 +29,7 @@ suites = [] # getting the test suites from the python modules (files that ends whit .py) for f in os.listdir(tests_dir): - if not f.endswith('.py'): + if not f.endswith('.py') or not f.startswith('test_'): continue try: my_test = __import__(f[:-len('.py')]) |