tests: add orphaned-requires-private test
parent
737e326ae1
commit
9315ee9ee6
|
@ -14,7 +14,8 @@ tests_init \
|
||||||
missing \
|
missing \
|
||||||
requires_internal \
|
requires_internal \
|
||||||
requires_internal_missing \
|
requires_internal_missing \
|
||||||
requires_internal_collision
|
requires_internal_collision \
|
||||||
|
orphaned_requires_private
|
||||||
|
|
||||||
libs_body()
|
libs_body()
|
||||||
{
|
{
|
||||||
|
@ -112,3 +113,12 @@ requires_internal_collision_body()
|
||||||
-o inline:"-I/test/local/include/foo \n" \
|
-o inline:"-I/test/local/include/foo \n" \
|
||||||
pkgconf --with-path="${selfdir}/lib1" --cflags requires-internal-collision
|
pkgconf --with-path="${selfdir}/lib1" --cflags requires-internal-collision
|
||||||
}
|
}
|
||||||
|
|
||||||
|
orphaned_requires_private_body()
|
||||||
|
{
|
||||||
|
atf_check \
|
||||||
|
-s exit:1 \
|
||||||
|
-e ignore \
|
||||||
|
-o ignore \
|
||||||
|
pkgconf --with-path="${selfdir}/lib1" --cflags --libs orphaned-requires-private
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue