summaryrefslogtreecommitdiff
path: root/tests/framework.sh
blob: 3676923357462fae6ffff140737a8d4e9cd462c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env atf-sh

. $(atf_get_srcdir)/test_env.sh

tests_init \
	libs

libs_body()
{
	export PKG_CONFIG_PATH="${selfdir}/lib1"
	atf_check \
		-o inline:"-F/test/lib -framework framework-1\n" \
		pkgconf --libs framework-1
	atf_check \
		-o inline:"-F/test/lib -framework framework-2 -framework framework-1\n" \
		pkgconf --libs framework-2
	atf_check \
		-o inline:"-F/test/lib -framework framework-2 -framework framework-1\n" \
		pkgconf --libs framework-1 framework-2
}