testsuite: add a testcase for -isystem munging (#94)
parent
226f8616de
commit
0a592689b6
|
@ -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" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --print-provides foo" \
|
||||||
"foo = 1.2.3"
|
"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
|
# 10) tests for internal getopt implementation with options at the end
|
||||||
if [ "x@STRICT_MODE@" = "xno" ]; then
|
if [ "x@STRICT_MODE@" = "xno" ]; then
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} foo --libs" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} foo --libs" \
|
||||||
|
|
Loading…
Reference in New Issue