From 1d7dd18686d0373289a3bf2b3669edae20875cbc Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Mon, 26 Nov 2018 11:12:11 +0900 Subject: Revert all new recent changes to add PGXS options for TAP and isolation A set of failures in buildfarm machines are proving that this is not quite ready yet because of another set of issues: - MSVC scripts assume that REGRESS_OPTS can only use top_builddir. Some test suites actually finish by using top_srcdir, like pg_stat_statements which cause the regression tests to never run. - Trying to enforce top_builddir does not work either when using VPATH as this is not recognized properly. - TAP tests of bloom are unstable on various platforms, causing various failures. --- doc/src/sgml/extend.sgml | 61 ++---------------------------------------------- 1 file changed, 2 insertions(+), 59 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/extend.sgml b/doc/src/sgml/extend.sgml index a6b77c1cfe0..695e07fb384 100644 --- a/doc/src/sgml/extend.sgml +++ b/doc/src/sgml/extend.sgml @@ -1303,34 +1303,6 @@ include $(PGXS) - - ISOLATION - - - list of isolation test cases, see below for more details - - - - - - ISOLATION_OPTS - - - additional switches to pass to - pg_isolation_regress - - - - - - TAP_TESTS - - - switch defining if TAP tests need to be run, see below - - - - NO_INSTALLCHECK @@ -1451,42 +1423,13 @@ make VPATH=/path/to/extension/source/tree install have all expected files. - - The scripts listed in the ISOLATION variable are used - for tests stressing behavior of concurrent session with your module, which - can be invoked by make installcheck after doing - make install. For this to work you must have a - running PostgreSQL server. The script files - listed in ISOLATION must appear in a subdirectory - named specs/ in your extension's directory. These files - must have extension .spec, which must not be included - in the ISOLATION list in the makefile. For each test - there should also be a file containing the expected output in a - subdirectory named expected/, with the same stem and - extension .out. make installcheck - executes each test script, and compares the resulting output to the - matching expected file. Any differences will be written to the file - output_iso/regression.diffs in - diff -c format. Note that trying to run a test that is - missing its expected file will be reported as trouble, so - make sure you have all expected files. - - - - TAP_TESTS enables the use of TAP tests. Data from each - run is present in a subdirectory named tmp_check/. - See also for more details. - - The easiest way to create the expected files is to create empty files, then do a test run (which will of course report differences). Inspect the actual result files found in the results/ - directory (for tests in REGRESS), or - output_iso/results/ directory (for tests in - ISOLATION), then copy them to - expected/ if they match what you expect from the test. + directory, then copy them to expected/ if they match + what you expect from the test. -- cgit v1.2.3