diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-08-07 17:49:17 +0300 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-08-07 17:49:17 +0300 |
commit | c762495c9122a33531fa81652ea39166a6865bc6 (patch) | |
tree | ec90ea20eac8107ced7f81968517bd34714708d7 /tests/runner.py | |
parent | a34aed0fb8a553dbd476b1a21eb96fcbf2dab57f (diff) |
Add -Wno-warn-absolute-paths cmdline option to allow hiding the absolute -I/-L path warning for codebases that understand they are crosscompiling and aren't referring to native system headers.
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index b866cc08..c1924552 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -11416,6 +11416,8 @@ int main(int argc, char const *argv[]) for args, expected in [(['-I/usr/something'], True), (['-L/usr/something'], True), + (['-I/usr/something', '-Wno-warn-absolute-paths'], False), + (['-L/usr/something', '-Wno-warn-absolute-paths'], False), (['-Isubdir/something'], False), (['-Lsubdir/something'], False), ([], False)]: |