From 082fd4af249507f02519eef44e7d386277b86a0e Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 15 Nov 2016 23:03:50 -0600 Subject: [PATCH] testsuite: add a test for --pure (closes #83) --- tests/requires.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/requires.sh b/tests/requires.sh index c45c814..e23ad5d 100755 --- a/tests/requires.sh +++ b/tests/requires.sh @@ -6,6 +6,7 @@ tests_init \ libs \ libs_cflags \ libs_static \ + libs_static_pure \ argv_parse2 \ static_cflags \ private_duplication \ @@ -36,6 +37,14 @@ libs_static_body() 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() { export PKG_CONFIG_PATH="${selfdir}/lib1"