tests: code cleanup
This commit is contained in:
parent
3856cc9748
commit
5465283ff4
|
@ -47,14 +47,14 @@ _pkgconfig()
|
||||||
return $ret
|
return $ret
|
||||||
}
|
}
|
||||||
|
|
||||||
_pkgconfig "EXISTS:" --exists "$PACKAGE" || exit 2
|
_pkgconfig "EXISTS:" --exists "$PACKAGE" || exit 2
|
||||||
|
|
||||||
ret=0
|
ret=0
|
||||||
|
|
||||||
_pkgconfig "VERSION:" --modversion "$PACKAGE" || ret=3
|
_pkgconfig "VERSION:" --modversion "$PACKAGE" || ret=3
|
||||||
_pkgconfig "CFLAGS: " --cflags "$PACKAGE" || ret=4
|
_pkgconfig "CFLAGS: " --cflags "$PACKAGE" || ret=4
|
||||||
_pkgconfig "LIBS: " --libs "$PACKAGE" || ret=5
|
_pkgconfig "LIBS: " --libs "$PACKAGE" || ret=5
|
||||||
_pkgconfig "PROVIDES:" --print-provides "$PACKAGE" || ret=6
|
_pkgconfig "PROVIDES:" --print-provides "$PACKAGE" || ret=6
|
||||||
_pkgconfig "REQUIRES:" --print-requires "$PACKAGE" || ret=7
|
_pkgconfig "REQUIRES:" --print-requires "$PACKAGE" || ret=7
|
||||||
|
|
||||||
exit $ret
|
exit $ret
|
||||||
|
|
Loading…
Reference in New Issue
Block a user