mirror of https://github.com/nirenjan/libx52.git
Fix pattern for daemon tests and sort by filename
parent
b1c7a16eac
commit
ecfb865c58
|
@ -167,8 +167,8 @@ class Test:
|
||||||
def find_and_parse_testcase_files(self):
|
def find_and_parse_testcase_files(self):
|
||||||
"""Find and parse *.tc files"""
|
"""Find and parse *.tc files"""
|
||||||
basedir = os.path.dirname(os.path.realpath(__file__))
|
basedir = os.path.dirname(os.path.realpath(__file__))
|
||||||
pattern = os.path.join(basedir, '**', 'comm', '*.tc')
|
pattern = os.path.join(basedir, 'tests', '**', '*.tc')
|
||||||
tc_files = glob.glob(pattern, recursive=True)
|
tc_files = sorted(glob.glob(pattern, recursive=True))
|
||||||
|
|
||||||
for tc_file in tc_files:
|
for tc_file in tc_files:
|
||||||
with open(tc_file) as tc_fd:
|
with open(tc_file) as tc_fd:
|
||||||
|
|
Loading…
Reference in New Issue