diff options
author | Charles Brunet <charles.brunet@optelgroup.com> | 2023-09-07 14:46:11 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-09-07 23:38:33 -0400 |
commit | 204fe3c5772f3f6ec9583fb9216412a4eb6018b9 (patch) | |
tree | 7a5d1ce1e839f0da2001b56442edf4a8d0ab03d3 /run_project_tests.py | |
parent | 983562c66e9ee28ce4204d69811cd870e2e1960f (diff) | |
download | meson-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-x | run_project_tests.py | 2 |
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) |