- Timestamp:
- May 7, 2024, 7:04:31 PM (7 months ago)
- Branches:
- master
- Children:
- 6d9aa79
- Parents:
- c333ed2 (diff), 083e637 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/pybin/tools.py
rc333ed2 r0b6c1c9 120 120 return (False, "'file EXPECT' failed with code {} '{}'".format(code, err)) 121 121 122 match = re.search( ".*: (.*)", out)122 match = re.search(r".*: (.*)", out) 123 123 124 124 if not match: … … 306 306 sys.exit(1) 307 307 308 re_jobs = re.search( "--jobserver-(auth|fds)", out)308 re_jobs = re.search(r"--jobserver-(auth|fds)", out) 309 309 if not re_jobs: 310 310 print("ERROR: cannot find Makefile jobserver version", file=sys.stderr) -
tests/test.py
rc333ed2 r0b6c1c9 23 23 24 24 def match_test(path): 25 match = re.search( "^%s\/([\w\/\-_]*).expect\/([\w\-_\+]+)(\.[\w\-_]+)?\.txt$"% settings.SRCDIR, path)25 match = re.search(r'^%s\/([\w\/\-_]*).expect\/([\w\-_\+]+)(\.[\w\-_]+)?\.txt$' % settings.SRCDIR, path) 26 26 if match : 27 27 test = Test() … … 359 359 sys.exit(1) 360 360 361 print(' '.join(re.findall( '([^\s]+\.cfa)', out)), end=' ')361 print(' '.join(re.findall(r'([^\s]+\.cfa)', out)), end=' ') 362 362 363 363 print('')
Note: See TracChangeset
for help on using the changeset viewer.