forked from ariadne/pkgconf
tests: add test for argv-parse bug causing audacious build failure
parent
e93b4a6c65
commit
4e95401318
|
@ -0,0 +1,10 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: argv-parse
|
||||
Description: A testing pkg-config file
|
||||
Version: 1.2.3
|
||||
Libs: -llib-3 -llib-1 -llib-2 -lpthread
|
||||
Cflags:
|
|
@ -62,9 +62,11 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs --cflags baz" \
|
|||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --static --libs baz" \
|
||||
'-lfoo' '-lbaz' '-lzee'
|
||||
|
||||
# 4) tests for DOS line-endings
|
||||
# 4) tests for parser bugs
|
||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs dos-lineendings" \
|
||||
'-L/usr/lib/dos-lineendings -ldos-lineendings'
|
||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs argv-parse" \
|
||||
'-llib-2 -lpthread'
|
||||
|
||||
if [ ${failed} -gt 0 ]; then
|
||||
echo "${failed} of ${done} tests failed. See output for details." >&2
|
||||
|
|
Loading…
Reference in New Issue