mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-01 09:41:45 +03:00
check-wrapper-headers test: Adjust Fortran include file directory
The check for "/finclude/" fails with the actual location of Fortran headers because they are now stored in the "finclude" subdirectory of the top-level include directory, so a relative path does not contain a slash '/' before the "finclude" string.
This commit is contained in:
@ -76,7 +76,7 @@ def check_headers(args):
|
||||
is_nonsysdep_header = os.access(header, os.R_OK)
|
||||
if is_nonsysdep_header:
|
||||
# Skip Fortran header files.
|
||||
if '/finclude/' in header:
|
||||
if header.startswith("finclude/"):
|
||||
continue
|
||||
|
||||
include_path = os.path.join(args.root, INCLUDE, header)
|
||||
|
Reference in New Issue
Block a user