From 0a592689b6673b92177bb1dfc8a6ae3b3fe7f073 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 24 Aug 2016 18:12:26 -0500 Subject: [PATCH] testsuite: add a testcase for -isystem munging (#94) --- tests/run.sh.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/run.sh.in b/tests/run.sh.in index 25481c1..6a5a720 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -289,6 +289,9 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=typelibdir --define- run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --print-provides foo" \ "foo = 1.2.3" +run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='/test' ${1} --cflags isystem" \ + "-isystem /test/opt/bad/include" + # 10) tests for internal getopt implementation with options at the end if [ "x@STRICT_MODE@" = "xno" ]; then run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} foo --libs" \