aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2023-09-07 14:46:11 -0400
committerEli Schwartz <eschwartz93@gmail.com>2023-09-07 23:38:33 -0400
commit204fe3c5772f3f6ec9583fb9216412a4eb6018b9 (patch)
tree7a5d1ce1e839f0da2001b56442edf4a8d0ab03d3 /run_project_tests.py
parent983562c66e9ee28ce4204d69811cd870e2e1960f (diff)
downloadmeson-204fe3c5772f3f6ec9583fb9216412a4eb6018b9.zip
meson-204fe3c5772f3f6ec9583fb9216412a4eb6018b9.tar.gz
meson-204fe3c5772f3f6ec9583fb9216412a4eb6018b9.tar.bz2
Fix include_directories test for relative path
- On Windows, it was not detected if include directory was an absolute path to source directory, because of the mis of path separators. - In the edgecase the include directory begins with the exact same string as the source directory, but is a different directory, it was falsely reported as an error. Fixes #12217.
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 8e0af26..78fa89c 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -942,6 +942,8 @@ def gather_tests(testdir: Path, stdout_mandatory: bool, only: T.List[str], skip_
# Filter non-tests files (dot files, etc)
if not t.is_dir() or t.name.startswith('.'):
continue
+ if t.name in {'18 includedirxyz'}:
+ continue
if only and not any(t.name.startswith(prefix) for prefix in only):
continue
test_def = TestDef(t, None, [], skip_category=skip_category)