Add regress target

Runs the regress tests without installing the extension
This commit is contained in:
Raul Marin
2019-10-28 15:12:04 +01:00
parent a25efc3fc5
commit 8ff0ad74af
4 changed files with 20 additions and 60 deletions

View File

@@ -1,8 +1,14 @@
\set ECHO none
\set QUIET on
SET client_min_messages TO error;
CREATE EXTENSION cartodb CASCADE;
CREATE EXTENSION postgis;
CREATE EXTENSION plpythonu;
CREATE SCHEMA cartodb;
\i 'cartodb--unpackaged--@@VERSION@@.sql'
CREATE FUNCTION public.cdb_invalidate_varnish(table_name text)
RETURNS void AS $$
BEGIN
RAISE NOTICE 'cdb_invalidate_varnish(%) called', table_name;
END;
$$ LANGUAGE 'plpgsql';
\set QUIET off