tests: add regression test for --variable

Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
This commit is contained in:
Ariadne Conill 2025-02-18 16:35:00 -08:00
parent ea0e64582a
commit a6b1299537

View File

@ -44,7 +44,8 @@ tests_init \
relocatable \
single_depth_selectors \
print_variables_env \
variable_env
variable_env \
variable_no_recurse
noargs_body()
{
@ -381,3 +382,10 @@ variable_env_body()
-o inline:"FOO_INCLUDEDIR='/test/include'\n" \
pkgconf --with-path=${selfdir}/lib1 --env=FOO --variable=includedir foo
}
variable_no_recurse_body()
{
atf_check \
-o inline:"/test/include\n" \
pkgconf --with-path=${selfdir}/lib1 --variable=includedir bar
}