diff --git a/pyasm/asm_tests/test_harness b/pyasm/asm_tests/test_harness index 7cee5c3..04657a9 100755 --- a/pyasm/asm_tests/test_harness +++ b/pyasm/asm_tests/test_harness @@ -13,7 +13,8 @@ If is specified run tests in that directory. If not specified the test directory is assumed to be './tests'. If is specified, run tests on files in the test subdirectory with -a filename of * . If is not specified all files are tested. +a filename of *.asm. If is not specified all files with +filename like *.asm are tested. """ @@ -301,7 +302,7 @@ def run_tests(directory, prefix): prefix = '' # get list of all test cases we are going to run - files = glob.glob('%s/%s*' % (directory, prefix)) + files = glob.glob('%s/%s*.asm' % (directory, prefix)) if not files: if prefix: error("No test files found in directory '%s' with prefix '%s'"