gentoo/dev-db/mysql++/files/mysql++-3.2.4-only-unit-tests.patch
Thomas Deutschmann 14d0571686
dev-db/mysql++: bump to v3.2.4
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
2018-10-29 15:54:08 +01:00

14 lines
331 B
Diff

--- a/dtest
+++ b/dtest
@@ -26,6 +26,10 @@ done
echo " $count tests succeeded"
echo 'All unit tests passed' >> $TMP
+if [[ -n "${ONLY_UNIT_TESTS}" ]] ; then
+ exit 0
+fi
+
# Assume AUTO_INCREMENT id column in images table will get 1 in
# load_jpeg call below, since we reset the DB before doing it.
export QUERY_STRING=id=1