diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2012-11-09 05:58:36 -0800 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2012-11-28 05:52:06 -0800 |
commit | 3e54448158f42677cfc2de06ff1a910d4289ae59 (patch) | |
tree | 8e76e5ae32f37abbac08cae92474a4464ff14a13 /check/sort/sort-order-2-2.pc | |
parent | e2910a6afd709e57ccad59ed9665c55a25f06b5c (diff) |
Test ordering of flags based on package depth and path
The current tests are good at checking whether gathering the Cflags or
Libs from one or two packages works correctly, but they don't check the
sorting algorithm much at all. In particular, the interactions between
the package order in the Requires chain and in the path can make the
sorting of the flags subtly different.
Diffstat (limited to 'check/sort/sort-order-2-2.pc')
-rw-r--r-- | check/sort/sort-order-2-2.pc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/check/sort/sort-order-2-2.pc b/check/sort/sort-order-2-2.pc new file mode 100644 index 0000000..0991aa5 --- /dev/null +++ b/check/sort/sort-order-2-2.pc @@ -0,0 +1,11 @@ +prefix=/path2 +exec_prefix=${prefix} +libdir="${exec_prefix}/lib" +includedir="${prefix}/include" + +Name: Sort order Cflags and Libs test 2-2 +Description: Test package for testing flag sort order +Version: 1.0.0 +Libs: -L${libdir} -Wl,-O2 -lpath2 +Cflags: -I${includedir} -DPATH2 +Requires: sort-order-1-2 |