tests: add test for issue #370

Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
wip/2023-06/python-suite-runner
Ariadne Conill 2025-02-02 03:11:37 -08:00
parent f982cbdab9
commit 68e8f7208b
1 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@ tests_init \
libs_cflags \
libs_static \
libs_static_pure \
cflags_libs_private \
argv_parse2 \
static_cflags \
private_duplication \
@ -162,3 +163,14 @@ orphaned_requires_private_body()
-o ignore \
pkgconf --with-path="${selfdir}/lib1" --cflags --libs orphaned-requires-private
}
cflags_libs_private_body()
{
atf_check \
-o inline:"\n" \
pkgconf --with-path="${selfdir}/lib1" --libs cflags-libs-private-a
atf_check \
-o inline:"-lc\n" \
pkgconf --with-path="${selfdir}/lib1" --static --libs cflags-libs-private-a
}