]> git.phdru.name Git - sqlconvert.git/blobdiff - tests/Makefile
Unescape all known escapes
[sqlconvert.git] / tests / Makefile
index b990065cfd8bab40e800e4f3987644c570fca99e..6e7d1d837dfb435d3bc8b287a5c577d5b11cd48a 100644 (file)
@@ -1,4 +1,17 @@
 
 .PHONY: all
-all:
-       ./run_all.py
+all: nodb postgres clean
+
+.PHONY: nodb
+nodb:
+       PYTHONPATH=.. python -m  pytest
+
+.PHONY: postgres
+postgres:
+       createdb test
+       PYTHONPATH=.. python -m  pytest -D postgres:///test
+       dropdb test
+
+.PHONY: clean
+clean:
+       rm -f *.tmp