testsuite: add a test for #99
parent
a05cc65a4b
commit
9a89bd051d
|
@ -0,0 +1,4 @@
|
||||||
|
Name: CFlags Trailing Whitespace Bug
|
||||||
|
Description: Demonstrates problems with -I with spaces
|
||||||
|
Version: 1
|
||||||
|
Cflags: -I/usr/include -I/usr/include/foo
|
|
@ -291,6 +291,8 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='/test' ${1}
|
||||||
|
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='/test' ${1} --cflags cflags-whitespace" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSROOT_DIR='/test' ${1} --cflags cflags-whitespace" \
|
||||||
"-I /test/opt/bad/include"
|
"-I /test/opt/bad/include"
|
||||||
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' PKG_CONFIG_SYSTEM_INCLUDE_PATH='/usr/include' ${1} --cflags cflags-whitespace-trailing" \
|
||||||
|
"-I/usr/include/foo"
|
||||||
|
|
||||||
# 10) tests for Provides system
|
# 10) tests for Provides system
|
||||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --print-provides provides" \
|
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --print-provides provides" \
|
||||||
|
|
Loading…
Reference in New Issue