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
This commit is contained in:
Dan Nicholson 2016-09-23 20:13:29 -07:00
parent 64cbed9884
commit a737256219
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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