forked from ariadne/pkgconf
tests: add regression test for github #259
parent
80bc5ac3b9
commit
dbd78db67f
|
@ -8,6 +8,7 @@ tests_init \
|
||||||
depgraph_break_2 \
|
depgraph_break_2 \
|
||||||
depgraph_break_3 \
|
depgraph_break_3 \
|
||||||
define_variable \
|
define_variable \
|
||||||
|
define_variable_override \
|
||||||
variable \
|
variable \
|
||||||
keep_system_libs \
|
keep_system_libs \
|
||||||
libs \
|
libs \
|
||||||
|
@ -72,6 +73,13 @@ define_variable_body()
|
||||||
pkgconf --variable=typelibdir --define-variable='libdir=\${libdir}' typelibdir
|
pkgconf --variable=typelibdir --define-variable='libdir=\${libdir}' typelibdir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
define_variable_override_body()
|
||||||
|
{
|
||||||
|
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
||||||
|
atf_check -o inline:"/test\n" \
|
||||||
|
pkgconf --variable=prefix --define-variable='prefix=/test' typelibdir
|
||||||
|
}
|
||||||
|
|
||||||
variable_body()
|
variable_body()
|
||||||
{
|
{
|
||||||
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
||||||
|
|
Loading…
Reference in New Issue