From: Florian Weimer Date: Thu, 7 Mar 2019 16:28:13 +0000 (+0100) Subject: check-wrapper-headers test: Adjust Fortran include file directory X-Git-Tag: upstream/2.30~300 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27a2f2f34c9e77815c6367cf670e24cbac0db7c0;p=external%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index ee9eebb..c657d79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-03-07 Florian Weimer + + * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran + header check. + 2019-03-07 Martin Liska * math/Makefile: Change location where math-vector-fortran.h is diff --git a/scripts/check-wrapper-headers.py b/scripts/check-wrapper-headers.py index dc9fd86..bae99c1 100644 --- a/scripts/check-wrapper-headers.py +++ b/scripts/check-wrapper-headers.py @@ -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)