tests: detect when the sqlite3 test should work
This commit is contained in:
parent
582eab193f
commit
9d96e6774b
|
@ -101,15 +101,20 @@ target="$1"
|
||||||
[ "$clean" -ne 0 ] && exit 0
|
[ "$clean" -ne 0 ] && exit 0
|
||||||
|
|
||||||
tests="pkgconfig.sh"
|
tests="pkgconfig.sh"
|
||||||
#XXX needs the engine to be installed
|
failures=
|
||||||
failures="sqlite3"
|
|
||||||
|
|
||||||
if $PKGCONFIG --exists python-2.7; then
|
if $PKGCONFIG --exists "python-2.7"; then
|
||||||
tests="$tests python.sh"
|
tests="$tests python.sh"
|
||||||
else
|
else
|
||||||
failures="$failures python.sh"
|
failures="$failures python.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if $PKGCONFIG --exists "sqlite3"; then
|
||||||
|
tests="$tests sqlite3"
|
||||||
|
else
|
||||||
|
failures="$failures sqlite3"
|
||||||
|
fi
|
||||||
|
|
||||||
$DATE > "$target"
|
$DATE > "$target"
|
||||||
FAILED=
|
FAILED=
|
||||||
echo "Performing tests:" 1>&2
|
echo "Performing tests:" 1>&2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user