From 19b1befb5dadbf55177779e9245cf2c7eabbc7e0 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sun, 26 Jun 2022 19:21:52 +0000 Subject: [PATCH] add additional sysroot testcase fixtures --- Makefile.am | 2 ++ tests/lib1/sysroot-dir-2.pc | 7 +++++++ tests/lib1/sysroot-dir-3.pc | 9 +++++++++ 3 files changed, 18 insertions(+) create mode 100644 tests/lib1/sysroot-dir-2.pc create mode 100644 tests/lib1/sysroot-dir-3.pc diff --git a/Makefile.am b/Makefile.am index cd8e391..6a21a61 100644 --- a/Makefile.am +++ b/Makefile.am @@ -98,6 +98,8 @@ EXTRA_DIST = pkg.m4 \ tests/lib1/tuple-quoting.pc \ tests/lib1/empty-tuple.pc \ tests/lib1/orphaned-requires-private.pc \ + tests/lib1/sysroot-dir-2.pc \ + tests/lib1/sysroot-dir-3.pc \ $(test_scripts) \ doc/conf.py \ doc/extract.py \ diff --git a/tests/lib1/sysroot-dir-2.pc b/tests/lib1/sysroot-dir-2.pc new file mode 100644 index 0000000..31f3ffd --- /dev/null +++ b/tests/lib1/sysroot-dir-2.pc @@ -0,0 +1,7 @@ +prefix=${pc_sysrootdir}/usr + +Name: sysroot-dir +Description: Package for testing whether sysroot dirs are repeated or not +Version: 1 +CFlags: -I${prefix}/include +Libs: -L${prefix}/lib -lfoo diff --git a/tests/lib1/sysroot-dir-3.pc b/tests/lib1/sysroot-dir-3.pc new file mode 100644 index 0000000..07952a7 --- /dev/null +++ b/tests/lib1/sysroot-dir-3.pc @@ -0,0 +1,9 @@ +prefix=/sysroot +includedir=${prefix}/include +libdir=${prefix}/lib + +Name: sysroot-dir +Description: Package for testing whether sysroot dirs are repeated or not +Version: 1 +CFlags: -I${includedir} +Libs: -L${libdir} -lfoo