diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2016-09-23 20:13:29 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2017-03-20 07:13:23 -0500 |
commit | a737256219bc8c2c24da917ce5caa184efa26b90 (patch) | |
tree | 4c6a29fd6b6972fe946f28cf54a30d081e85d4b3 | |
parent | 64cbed988423449dd9f687b3658695a404d4085c (diff) |
check: Add more flags to the special-flags test
Make sure that all the flag types are covered so that the ordering
between them is being tested.
https://bugs.freedesktop.org/show_bug.cgi?id=97337
-rwxr-xr-x | check/check-special-flags | 4 | ||||
-rw-r--r-- | check/special-flags.pc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/check/check-special-flags b/check/check-special-flags index 9679458..35b56e6 100755 --- a/check/check-special-flags +++ b/check/check-special-flags @@ -4,8 +4,8 @@ set -e . ${srcdir}/common -RESULT="-isystem /system1 -idirafter /after1 -idirafter /after2 -isystem /system2 -I/foo -I/bar" +RESULT="-g -isystem /system1 -idirafter /after1 -ffoo -idirafter /after2 -isystem /system2 -I/foo -I/bar" run_test --cflags special-flags -RESULT="-framework Foo -lsimple -framework Bar -Wl,-framework -Wl,Baz" +RESULT="-L/foo -L/bar -framework Foo -lsimple -framework Bar -Wl,-framework -Wl,Baz" run_test --libs special-flags diff --git a/check/special-flags.pc b/check/special-flags.pc index 56e2057..0bdaeb1 100644 --- a/check/special-flags.pc +++ b/check/special-flags.pc @@ -7,5 +7,5 @@ Name: Special flags test Description: Dummy pkgconfig test package for testing pkgconfig Version: 1.0.0 Requires: -Libs: -framework Foo -lsimple -framework Bar -Wl,-framework -Wl,Baz -Cflags: -I/foo -isystem /system1 -idirafter /after1 -I/bar -idirafter /after2 -isystem /system2 +Libs: -L/foo -framework Foo -lsimple -L/bar -framework Bar -Wl,-framework -Wl,Baz +Cflags: -I/foo -g -isystem /system1 -idirafter /after1 -ffoo -I/bar -idirafter /after2 -isystem /system2 |