mirror of
https://github.com/pkgconf/pkgconf.git
synced 2026-01-27 01:44:34 +00:00
tests: port modversion prefix test out of kyua
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
This commit is contained in:
parent
b785d620fe
commit
b08efccad8
@ -58,6 +58,7 @@ EXTRA_DIST = pkg.m4 \
|
||||
t/basic/modversion-fullpath.test \
|
||||
t/basic/modversion-noflatten.test \
|
||||
t/basic/modversion-uninstalled.test \
|
||||
t/basic/modversion-verbose-prefix.test \
|
||||
t/basic/noargs.test \
|
||||
t/basic/nocflags.test \
|
||||
t/basic/nolibs.test \
|
||||
|
||||
7
t/basic/modversion-verbose-prefix.test
Normal file
7
t/basic/modversion-verbose-prefix.test
Normal file
@ -0,0 +1,7 @@
|
||||
PackageSearchPath: lib1
|
||||
Query: foo, foobar
|
||||
WantedFlags: modversion
|
||||
VerbosityLevel: 1
|
||||
ExpectedStdout: foo: 1.2.3
|
||||
ExpectedStdout: foobar: 3.2.1
|
||||
MatchStdout: partial
|
||||
@ -8,7 +8,6 @@ tests_init \
|
||||
libs_never_mergeback \
|
||||
cflags_only \
|
||||
cflags_never_mergeback \
|
||||
modversion_common_prefix \
|
||||
modversion_one_word_expression \
|
||||
modversion_two_word_expression \
|
||||
modversion_three_word_expression \
|
||||
@ -91,12 +90,6 @@ explicit_sysroot_body()
|
||||
pkgconf --with-path="${selfdir}/lib1" --variable=pkgdatadir explicit-sysroot
|
||||
}
|
||||
|
||||
modversion_common_prefix_body()
|
||||
{
|
||||
atf_check -o inline:"foo: 1.2.3\nfoobar: 3.2.1\n" \
|
||||
pkgconf --with-path="${selfdir}/lib1" --modversion --verbose foo foobar
|
||||
}
|
||||
|
||||
modversion_one_word_expression_body()
|
||||
{
|
||||
atf_check -o inline:"1.2.3\n" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user