theory/pgtap — Issue #18: Using installcheck target in an extension
Author: jaylevitt
Created: 2012-02-12 07:08:30+00:00
State: open

The docs imply that I can use the standard installcheck target in a PG extension. However, when I use the sample code as my .sql, I get the following:

% make installcheck
/usr/local/Cellar/postgresql/9.1.2/lib/pgxs/src/makefiles/../../src/test/regress/pg_regress --inputdir=. --psqldir='/usr/local/Cellar/postgresql/9.1.2/bin' --dbname=contrib_regression similarity_vector
(using postmaster on Unix socket, default port)
============== dropping database "contrib_regression" ==============
DROP DATABASE
============== creating database "contrib_regression" ==============
CREATE DATABASE
ALTER DATABASE
============== running regression test queries ==============
test similarity_vector ... diff: /Users/jay/src/tiptap/similarity_vector/expected/similarity_vector.out: No such file or directory
diff command failed with status 512: diff "/Users/jay/src/tiptap/similarity_vector/expected/similarity_vector.out" "/Users/jay/src/tiptap/similarity_vector/results/similarity_vector.out" > "/Users/jay/src/tiptap/similarity_vector/results/similarity_vector.out.diff"
make: *** [installcheck] Error 2