forked from ariadne/pkgconf
tests: add test for freedesktop.org bug 54271
parent
25902dbc11
commit
749a604c70
|
@ -0,0 +1,4 @@
|
|||
Name: incomplete
|
||||
Description: incomplete package without CFLAGS/LIBS entries (freedesktop #54271)
|
||||
Version: 1.2.3
|
||||
|
|
@ -114,6 +114,8 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs-only-L --libs-only-l cflag
|
|||
'-lfoo'
|
||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --cflags-only-I --cflags-only-other cflags-libs-only" \
|
||||
'-I/usr/local/include'
|
||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs incomplete; echo $?" \
|
||||
'0'
|
||||
|
||||
# 6) tests for builtins
|
||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --modversion pkg-config" \
|
||||
|
|
Loading…
Reference in New Issue