tests: add basic --exists-cflags test
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
f635f63220
commit
d5cd2a4f28
|
@ -21,6 +21,7 @@ tests_init \
|
||||||
exists2 \
|
exists2 \
|
||||||
exists3 \
|
exists3 \
|
||||||
exists_version_alt \
|
exists_version_alt \
|
||||||
|
exists_cflags \
|
||||||
uninstalled_bad \
|
uninstalled_bad \
|
||||||
uninstalled \
|
uninstalled \
|
||||||
libs_intermediary \
|
libs_intermediary \
|
||||||
|
@ -340,3 +341,10 @@ modversion_noflatten_body()
|
||||||
-o inline:"1.3\n" \
|
-o inline:"1.3\n" \
|
||||||
pkgconf --with-path=${selfdir}/lib1 --modversion bar
|
pkgconf --with-path=${selfdir}/lib1 --modversion bar
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exists_cflags_body()
|
||||||
|
{
|
||||||
|
atf_check \
|
||||||
|
-o inline:"-DHAVE_FOO\n" \
|
||||||
|
pkgconf --with-path=${selfdir}/lib1 --cflags --exists-cflags --fragment-filter=D foo
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue