summaryrefslogtreecommitdiff
path: root/check/sort/sort/sort-order-3-2.pc
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-11-09 05:58:36 -0800
committerDan Nicholson <dbn.lists@gmail.com>2012-11-28 05:52:06 -0800
commit3e54448158f42677cfc2de06ff1a910d4289ae59 (patch)
tree8e76e5ae32f37abbac08cae92474a4464ff14a13 /check/sort/sort/sort-order-3-2.pc
parente2910a6afd709e57ccad59ed9665c55a25f06b5c (diff)
downloadpkg-config-3e54448158f42677cfc2de06ff1a910d4289ae59.tar.gz
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/sort-order-3-2.pc')
-rw-r--r--check/sort/sort/sort-order-3-2.pc11
1 files changed, 11 insertions, 0 deletions
diff --git a/check/sort/sort/sort-order-3-2.pc b/check/sort/sort/sort-order-3-2.pc
new file mode 100644
index 0000000..0a1504f
--- /dev/null
+++ b/check/sort/sort/sort-order-3-2.pc
@@ -0,0 +1,11 @@
+prefix=/path3
+exec_prefix=${prefix}
+libdir="${exec_prefix}/lib"
+includedir="${prefix}/include"
+
+Name: Sort order Cflags and Libs test 3-2
+Description: Test package for testing flag sort order
+Version: 1.0.0
+Libs: -L${libdir} -Wl,-O3 -lpath3
+Cflags: -I${includedir} -DPATH3
+Requires: sort-order-2-2 sort-order-1-2