From 0d18735e3f2e7424e7f40dde4acbb05369642c62 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 14 Sep 2012 14:46:52 -0500 Subject: [PATCH] tests: add test for no packages being supplied to the frontend --- tests/run.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/run.sh.in b/tests/run.sh.in index e8651df..c654259 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -44,6 +44,8 @@ run_test() { selfdir=$(cd "$(dirname "${0}")"; pwd) # 1) overall 'is it working?' test +run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1}; echo \$?" \ + '1' run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs foo" \ '-lfoo' run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --cflags --libs foo" \