Test digraph completeness for private-libs-duplication

Complements 45073b7.
Kai Pastor 2024-01-17 18:28:38 +01:00 committed by Ariadne Conill
parent 5825e2c6d6
commit 4a3adf3457
1 changed files with 16 additions and 0 deletions

View File

@ -10,6 +10,7 @@ tests_init \
argv_parse2 \
static_cflags \
private_duplication \
private_duplication_digraph \
libs_static2 \
missing \
requires_internal \
@ -73,6 +74,21 @@ private_duplication_body()
pkgconf --static --libs-only-l private-libs-duplication
}
private_duplication_digraph_body()
{
export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \
-o 'match:"virtual:world" -> "private-libs-duplication"' \
-o 'match:"virtual:world" -> "bar"' \
-o 'match:"virtual:world" -> "baz"' \
-o 'match:"virtual:world" -> "foo"' \
-o 'match:"private-libs-duplication" -> "bar"' \
-o 'match:"private-libs-duplication" -> "baz"' \
-o 'match:"bar" -> "foo"' \
-o 'match:"baz" -> "foo"' \
pkgconf --static --libs-only-l private-libs-duplication --digraph
}
libs_static2_body()
{
export PKG_CONFIG_PATH="${selfdir}/lib1"