testsuite: add a test for #99
parent
53fc91332a
commit
52c454694b
|
@ -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
|
|
@ -294,6 +294,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" \
|
||||
"-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 internal getopt implementation with options at the end
|
||||
if [ "x@STRICT_MODE@" = "xno" ]; then
|
||||
|
|
Loading…
Reference in New Issue