Enable running all tests via "installcheck"

NOTE: also makes CDB_TableMetadata triggers still functional
      when user quota and varnish invalidation functions are missing
      from the database (currently installed by cartodb ruby)
This commit is contained in:
Sandro Santilli
2014-05-06 10:18:38 +02:00
parent 82c8259de6
commit 15740f2ef6
10 changed files with 81 additions and 19 deletions

View File

@@ -1 +0,0 @@
../test

View File

@@ -1,10 +1,4 @@
CREATE EXTENSION postgis;
CREATE EXTENSION schema_triggers;
CREATE EXTENSION cartodb;
set search_path to public,cartodb,schema_triggers;
--set client_min_messages to debug;
\set VERBOSITY terse
-- Create a stub cdb_invalidate_varnish function if not available
--CREATE FUNCTION tmp() returns void AS $$

3
sql/test_setup.sql Normal file
View File

@@ -0,0 +1,3 @@
CREATE EXTENSION postgis;
CREATE EXTENSION schema_triggers;
CREATE EXTENSION cartodb;