From ae1da8bc716e32cc93c83aba13564052ab09482b Mon Sep 17 00:00:00 2001 Message-Id: From: Dan Nicholson Date: Fri, 23 Sep 2016 20:13:29 -0700 Subject: [PATCH] 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 --- check/check-special-flags | 4 ++-- 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 -- 2.4.11