Mercurial > hg
comparison tests/run-tests.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
comparison
equal
deleted
inserted
replaced
51699:bd1483fd7088 | 51700:7f0cb9ee0534 |
---|---|
220 return cwd | 220 return cwd |
221 | 221 |
222 | 222 |
223 # For Windows support | 223 # For Windows support |
224 wifexited = getattr(os, "WIFEXITED", lambda x: False) | 224 wifexited = getattr(os, "WIFEXITED", lambda x: False) |
225 | |
226 | 225 |
227 # Whether to use IPv6 | 226 # Whether to use IPv6 |
228 def checksocketfamily(name, port=20058): | 227 def checksocketfamily(name, port=20058): |
229 """return true if we can listen on localhost using family=name | 228 """return true if we can listen on localhost using family=name |
230 | 229 |
3396 | 3395 |
3397 if not ( | 3396 if not ( |
3398 os.path.basename(t).startswith(b'test-') | 3397 os.path.basename(t).startswith(b'test-') |
3399 and (t.endswith(b'.py') or t.endswith(b'.t')) | 3398 and (t.endswith(b'.py') or t.endswith(b'.t')) |
3400 ): | 3399 ): |
3400 | |
3401 m = testcasepattern.match(os.path.basename(t)) | 3401 m = testcasepattern.match(os.path.basename(t)) |
3402 if m is not None: | 3402 if m is not None: |
3403 t_basename, casestr = m.groups() | 3403 t_basename, casestr = m.groups() |
3404 t = os.path.join(os.path.dirname(t), t_basename) | 3404 t = os.path.join(os.path.dirname(t), t_basename) |
3405 if casestr: | 3405 if casestr: |