mirror of
https://github.com/pkgconf/pkgconf.git
synced 2026-01-27 01:44:34 +00:00
tests: add regression test for --variable
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
This commit is contained in:
parent
ea0e64582a
commit
a6b1299537
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user