Add makefile targets for tests
authorIan Barwick <ian@2ndquadrant.com>
Wed, 17 Dec 2014 05:46:05 +0000 (14:46 +0900)
committerIan Barwick <ian@2ndquadrant.com>
Wed, 17 Dec 2014 05:46:05 +0000 (14:46 +0900)
src/test/regress/ddl-deparse/GNUmakefile

index aeb7dcd28dc8a2621c7eb990d5547f918efd6b8a..a66ba3898ad927ab8c65165a7a64683af1936944 100644 (file)
@@ -3,5 +3,26 @@ include $(top_builddir)/src/Makefile.global
 
 include $(top_srcdir)/src/Makefile.shlib
 
-
 all: regress.so
+
+test: all
+   rm -rf ./testtablespace && mkdir ./testtablespace
+   ../pg_regress \
+       --extra-install=contrib/pg_stat_statements \
+       --temp-install=./tmp_check \
+       --top-builddir=../../../.. \
+       --dlpath=. \
+       --schedule=./ddl-schedule
+
+seclabel-test: all
+   rm -rf ./testtablespace && mkdir ./testtablespace
+   ../pg_regress \
+       --extra-install=contrib/pg_stat_statements \
+       --extra-install=contrib/dummy_seclabel \
+       --temp-config=temp.conf \
+       --top-builddir=../../../.. \
+       --dlpath=. \
+       --schedule=./ddl-schedule
+
+
+