tests: add new test fixtures for Requires.internal

pull/180/head
William Pitcock 2018-03-18 18:00:04 -05:00
parent f03ec3ff90
commit 9a53290d8a
5 changed files with 42 additions and 0 deletions

View File

@ -84,6 +84,10 @@ EXTRA_DIST = pkg.m4 \
tests/lib1/malformed-quoting.pc \
tests/lib1/explicit-sysroot.pc \
tests/lib1/escaped-backslash.pc \
tests/lib1/cflags-internal.pc \
tests/lib1/requires-internal.pc \
tests/lib1/requires-internal-2.pc \
tests/lib1/requires-internal-missing.pc \
tests/test_env.sh \
$(test_scripts) \
doc/conf.py \

View File

@ -0,0 +1,9 @@
prefix=/test/local
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: cflags-internal
Description: A testing pkg-config file
Version: 1.2.3
Cflags: -I${includedir}/foo

View File

@ -0,0 +1,9 @@
prefix=/test/local
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: requires-internal
Description: A testing pkg-config file
Version: 1.2.3
Requires.internal: cflags-internal

View File

@ -0,0 +1,10 @@
prefix=/test/local
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: requires-internal
Description: A testing pkg-config file
Version: 1.2.3
Requires.internal: static-libs, missing
Requires.private: foo

View File

@ -0,0 +1,10 @@
prefix=/test/local
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: requires-internal
Description: A testing pkg-config file
Version: 1.2.3
Requires.internal: static-libs
Requires.private: foo