From 9885643e45c7a997e231e3f44c51595b46953c29 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 7 May 2012 03:44:59 -0500 Subject: [PATCH] tests: add test for PKG_CONFIG_SYSROOT_DIR --- tests/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/run.sh b/tests/run.sh index 3c1c1e6..5e262a7 100644 --- a/tests/run.sh +++ b/tests/run.sh @@ -88,6 +88,10 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --variable=prefix foo" \ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --define-variable=prefix=/test --variable=prefix foo" \ '/test' +# 7) tests for env modifiers +run_test "PKG_CONFIG_PATH=${selfdir}/lib1 PKG_CONFIG_SYSROOT_DIR=/test ${1} --cflags baz" \ + '-I/test/usr/include/foo' + if [ ${failed} -gt 0 ]; then echo "${failed} of ${done} tests failed. See output for details." >&2 exit 1