tests: add test for argv-parse splitting issue with filenames
parent
f522f55e12
commit
c544e9e052
|
@ -0,0 +1,10 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: argv-parse-2
|
||||
Description: A testing pkg-config file
|
||||
Version: 1.2.3
|
||||
Libs: -llib-1 -pthread ${libdir}/lib2.so
|
||||
Cflags:
|
|
@ -85,6 +85,8 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs --cflags baz" \
|
|||
'-lbaz' '-fPIC' '-I/usr/include/foo'
|
||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --static --libs baz" \
|
||||
'-lfoo' '-lbaz' '-lzee'
|
||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --static --libs argv-parse-2" \
|
||||
'-pthread '
|
||||
|
||||
# 4) tests for parser bugs
|
||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs dos-lineendings" \
|
||||
|
|
Loading…
Reference in New Issue