testsuite: add a test for --pure (closes #83)

pull/100/head
William Pitcock 2016-11-15 23:03:50 -06:00
parent 3f61f58c20
commit 082fd4af24
1 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,7 @@ tests_init \
libs \ libs \
libs_cflags \ libs_cflags \
libs_static \ libs_static \
libs_static_pure \
argv_parse2 \ argv_parse2 \
static_cflags \ static_cflags \
private_duplication \ private_duplication \
@ -36,6 +37,14 @@ libs_static_body()
pkgconf --static --libs baz pkgconf --static --libs baz
} }
libs_static_pure_body()
{
export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \
-o inline:"-L/test/lib -lbaz -L/test/lib -lfoo \n" \
pkgconf --static --pure --libs baz
}
argv_parse2_body() argv_parse2_body()
{ {
export PKG_CONFIG_PATH="${selfdir}/lib1" export PKG_CONFIG_PATH="${selfdir}/lib1"