From bea204fa63b3f2e5f8082438ad548cfe044d2fb8 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 24 Feb 2013 08:57:53 -0600 Subject: [PATCH] testsuite: add additional tests for PKG_CONFIG_SYSROOT_DIR --- tests/run.sh.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/run.sh.in b/tests/run.sh.in index 4291e2c..941c2af 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -152,6 +152,10 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=pcfiledir foo" \ # 7) tests for env modifiers run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='${SYSROOT_DIR}' ${1} --cflags baz" \ "-I${SYSROOT_DIR}/usr/include/foo" +run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='${SYSROOT_DIR}' ${1} --variable=prefix baz" \ + "${SYSROOT_DIR}/usr" +run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='${SYSROOT_DIR}' ${1} --variable=includedir baz" \ + "${SYSROOT_DIR}/usr/include" # 8) tests for 'Conflicts' run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs conflicts; echo \$?" \