Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bda0b08

Browse files
committed
Add README in src/test and src/test/modules
Author: Craig Ringer Reviewed by: Michaël Paquier
1 parent 343f709 commit bda0b08

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

src/test/README

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
PostgreSQL tests
2+
================
3+
4+
This directory contains a variety of test infrastructure as well as some of the
5+
tests in PostgreSQL. Not all tests are here -- in particular, there are more in
6+
individual contrib/ modules and in src/bin.
7+
8+
Not all these tests get run by "make check". Check src/test/Makefile to see
9+
which tests get run automatically.
10+
11+
examples/
12+
Demonstration programs for libpq that double as regression tests via
13+
"make check"
14+
15+
isolation/
16+
Tests for concurrent behavior at the SQL level
17+
18+
locale/
19+
Sanity checks for locale data, encodings, etc
20+
21+
mb/
22+
Tests for multibyte encoding (UTF-8) support
23+
24+
modules/
25+
Extensions used only or mainly for test purposes, generally not suitable
26+
for installing in production databases
27+
28+
perl/
29+
Infrastructure for Perl-based TAP tests
30+
31+
regress/
32+
PostgreSQL's main regression test suite, pg_regress
33+
34+
ssl/
35+
Tests to exercise and verify SSL certificate handling
36+
37+
thread/
38+
A thread-safety-testing utility used by configure

src/test/modules/README

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Test extensions and libraries
2+
=============================
3+
4+
src/test/modules contains PostgreSQL extensions that are primarily or entirely
5+
intended for testing PostgreSQL and/or to serve as example code. The extensions
6+
here aren't intended to be installed in a production server and aren't suitable
7+
for "real work".
8+
9+
Most extensions have their own pg_regress tests or isolationtester specs. Some
10+
are also used by tests elsewhere in the tree.
11+
12+
If you're adding new hooks or other functionality exposed as C-level API this
13+
is where to add the tests for it.

0 commit comments

Comments
 (0)