diff --git a/tests/tests.sh b/tests/tests.sh index adb0dda..3c58396 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -101,15 +101,20 @@ target="$1" [ "$clean" -ne 0 ] && exit 0 tests="pkgconfig.sh" -#XXX needs the engine to be installed -failures="sqlite3" +failures= -if $PKGCONFIG --exists python-2.7; then +if $PKGCONFIG --exists "python-2.7"; then tests="$tests python.sh" else failures="$failures python.sh" fi +if $PKGCONFIG --exists "sqlite3"; then + tests="$tests sqlite3" +else + failures="$failures sqlite3" +fi + $DATE > "$target" FAILED= echo "Performing tests:" 1>&2