tests: add regression test for github #259
ci/woodpecker/push/woodpecker Pipeline was successful Details

pull/244/head
Ariadne Conill 2022-08-16 19:42:13 +00:00
parent 80bc5ac3b9
commit dbd78db67f
1 changed files with 8 additions and 0 deletions

View File

@ -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"