From 9950312fdea8fef8fc7f6d250aff1147d8041cdd Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sun, 26 Jun 2022 19:34:39 +0000 Subject: [PATCH] tests: add additional test fixtures --- Makefile.am | 2 ++ tests/lib1/sysroot-dir-3.pc | 2 +- tests/lib1/sysroot-dir-4.pc | 9 +++++++++ tests/lib1/sysroot-dir-5.pc | 9 +++++++++ 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 tests/lib1/sysroot-dir-4.pc create mode 100644 tests/lib1/sysroot-dir-5.pc diff --git a/Makefile.am b/Makefile.am index 6a21a61..6c9ef41 100644 --- a/Makefile.am +++ b/Makefile.am @@ -100,6 +100,8 @@ EXTRA_DIST = pkg.m4 \ tests/lib1/orphaned-requires-private.pc \ tests/lib1/sysroot-dir-2.pc \ tests/lib1/sysroot-dir-3.pc \ + tests/lib1/sysroot-dir-4.pc \ + tests/lib1/sysroot-dir-5.pc \ $(test_scripts) \ doc/conf.py \ doc/extract.py \ diff --git a/tests/lib1/sysroot-dir-3.pc b/tests/lib1/sysroot-dir-3.pc index 07952a7..8c53a45 100644 --- a/tests/lib1/sysroot-dir-3.pc +++ b/tests/lib1/sysroot-dir-3.pc @@ -1,4 +1,4 @@ -prefix=/sysroot +prefix=/sysroot/usr includedir=${prefix}/include libdir=${prefix}/lib diff --git a/tests/lib1/sysroot-dir-4.pc b/tests/lib1/sysroot-dir-4.pc new file mode 100644 index 0000000..524dc7c --- /dev/null +++ b/tests/lib1/sysroot-dir-4.pc @@ -0,0 +1,9 @@ +prefix=${pc_sysrootdir}/usr +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 diff --git a/tests/lib1/sysroot-dir-5.pc b/tests/lib1/sysroot-dir-5.pc new file mode 100644 index 0000000..8c53a45 --- /dev/null +++ b/tests/lib1/sysroot-dir-5.pc @@ -0,0 +1,9 @@ +prefix=/sysroot/usr +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