branch: elpa/pg
commit b01fee8594a15f2d684e81716773932b053b393f
Author: Eric Marsden <[email protected]>
Commit: Eric Marsden <[email protected]>

    Tests: add test recipe for LiteSQL variant
---
 test/Makefile | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/test/Makefile b/test/Makefile
index c2d88b74e8..1c0b39ea6f 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1719,6 +1719,18 @@ test-pgsqlite: test-pg.el
        rm -rf ${TMPBDIR}
 
 
+# https://github.com/litesql/ha
+#
+# SQL is interpreted by MySQL; it doesn't implement basic functions like 
version() ...
+test-litesql: test-pg.el
+       ${DOCKER} run --rm --name litesql --pull=newer \
+          --publish 127.0.0.1:5631:5432 \
+          -d ghcr.io/litesql/ha:latest
+       sleep 5
+       PGURI=postgresql://ha:[email protected]:5631/ha $(MAKE) test
+       ${DOCKER} stop litesql
+
+
 # https://github.com/glommer/pgmicro
 test-pgmicro: test-pg.el
        $(eval TMPBDIR := $(shell mktemp -d -t pgmicro-buildXXXX))

Reply via email to