aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-02-25 21:08:32 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-02-25 21:08:32 -0300
commitbda0b081984011ba5347bf3eecc95b71833de082 (patch)
tree59b03a68a54e249aa617de17c46a9adbbd4b54bc /src
parent343f709c0691abdc779bec91fa3587dda259808e (diff)
downloadpostgresql-bda0b081984011ba5347bf3eecc95b71833de082.tar.gz
postgresql-bda0b081984011ba5347bf3eecc95b71833de082.zip
Add README in src/test and src/test/modules
Author: Craig Ringer Reviewed by: Michaƫl Paquier
Diffstat (limited to 'src')
-rw-r--r--src/test/README38
-rw-r--r--src/test/modules/README13
2 files changed, 51 insertions, 0 deletions
diff --git a/src/test/README b/src/test/README
new file mode 100644
index 00000000000..5587422d522
--- /dev/null
+++ b/src/test/README
@@ -0,0 +1,38 @@
+PostgreSQL tests
+================
+
+This directory contains a variety of test infrastructure as well as some of the
+tests in PostgreSQL. Not all tests are here -- in particular, there are more in
+individual contrib/ modules and in src/bin.
+
+Not all these tests get run by "make check". Check src/test/Makefile to see
+which tests get run automatically.
+
+examples/
+ Demonstration programs for libpq that double as regression tests via
+ "make check"
+
+isolation/
+ Tests for concurrent behavior at the SQL level
+
+locale/
+ Sanity checks for locale data, encodings, etc
+
+mb/
+ Tests for multibyte encoding (UTF-8) support
+
+modules/
+ Extensions used only or mainly for test purposes, generally not suitable
+ for installing in production databases
+
+perl/
+ Infrastructure for Perl-based TAP tests
+
+regress/
+ PostgreSQL's main regression test suite, pg_regress
+
+ssl/
+ Tests to exercise and verify SSL certificate handling
+
+thread/
+ A thread-safety-testing utility used by configure
diff --git a/src/test/modules/README b/src/test/modules/README
new file mode 100644
index 00000000000..99f921d582a
--- /dev/null
+++ b/src/test/modules/README
@@ -0,0 +1,13 @@
+Test extensions and libraries
+=============================
+
+src/test/modules contains PostgreSQL extensions that are primarily or entirely
+intended for testing PostgreSQL and/or to serve as example code. The extensions
+here aren't intended to be installed in a production server and aren't suitable
+for "real work".
+
+Most extensions have their own pg_regress tests or isolationtester specs. Some
+are also used by tests elsewhere in the tree.
+
+If you're adding new hooks or other functionality exposed as C-level API this
+is where to add the tests for it.