testsuite: add a test for --pure (closes #83)
parent
3f61f58c20
commit
082fd4af24
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue