forked from ariadne/pkgconf
tests: add test for multiline crasher
parent
c4d89f9cec
commit
dde296193f
|
@ -0,0 +1,11 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: argv-parse-3
|
||||
Description: A testing pkg-config file
|
||||
Version: 1.2.3
|
||||
Libs: -llib-1 \
|
||||
-pthread ${libdir}/lib2.so
|
||||
Cflags:
|
|
@ -100,6 +100,8 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs argv-parse" \
|
|||
'-llib-2 -lpthread'
|
||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --exists -foo; echo \$?" \
|
||||
'1'
|
||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs argv-parse-3" \
|
||||
'-llib-1'
|
||||
|
||||
# 5) tests for other regressions
|
||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --variable=includedir foo" \
|
||||
|
|
Loading…
Reference in New Issue