mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-20 17:08:23 +02:00
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:
parent
64cbed9884
commit
a737256219
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue