diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2002-09-03 21:45:44 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2002-09-03 21:45:44 +0000 |
| commit | 77f7763b55a89254f3b4be1f92402188bf2575b8 (patch) | |
| tree | 95af88df05d1251ee25dd28cf826c664748daa14 /src/test/locale | |
| parent | 86f27321e25b5a1a7b6c78400e54f063525b07d5 (diff) | |
| download | postgresql-77f7763b55a89254f3b4be1f92402188bf2575b8.tar.gz | |
Remove all traces of multibyte and locale options. Clean up comments
referring to "multibyte" where it really means character encoding.
Diffstat (limited to 'src/test/locale')
| -rw-r--r-- | src/test/locale/Makefile | 4 | ||||
| -rw-r--r-- | src/test/locale/README | 10 | ||||
| -rwxr-xr-x | src/test/locale/de_DE.ISO8859-1/runall | 3 | ||||
| -rwxr-xr-x | src/test/locale/gr_GR.ISO8859-7/runall | 3 | ||||
| -rwxr-xr-x | src/test/locale/koi8-r/runall | 3 | ||||
| -rwxr-xr-x | src/test/locale/koi8-to-win1251/runall | 3 | ||||
| -rw-r--r-- | src/test/locale/test-pgsql-locale.c | 14 |
7 files changed, 6 insertions, 34 deletions
diff --git a/src/test/locale/Makefile b/src/test/locale/Makefile index 626c789a70..9a587b19cd 100644 --- a/src/test/locale/Makefile +++ b/src/test/locale/Makefile @@ -1,11 +1,11 @@ -# $Header: /cvsroot/pgsql/src/test/locale/Makefile,v 1.7 2001/01/19 19:15:33 petere Exp $ +# $Header: /cvsroot/pgsql/src/test/locale/Makefile,v 1.8 2002/09/03 21:45:44 petere Exp $ subdir = src/test/locale top_builddir = ../../.. include $(top_builddir)/src/Makefile.global -PROGS = test-pgsql-locale test-ctype +PROGS = test-ctype DIRS = de_DE.ISO8859-1 gr_GR.ISO8859-7 koi8-r koi8-to-win1251 all: $(PROGS) diff --git a/src/test/locale/README b/src/test/locale/README index ba0c455630..822aab238b 100644 --- a/src/test/locale/README +++ b/src/test/locale/README @@ -1,4 +1,4 @@ -$Header: /cvsroot/pgsql/src/test/locale/README,v 1.3 2001/01/19 19:43:27 petere Exp $ +$Header: /cvsroot/pgsql/src/test/locale/README,v 1.4 2002/09/03 21:45:44 petere Exp $ This directory contains a set of tests for locales. I provided one C program test-ctype.c to test CTYPE support in libc and the installed @@ -11,11 +11,9 @@ for example gmake check-koi8-r Currently, there are only tests for a few locales available. The script -'runall' calls test-pgsql-locale to test whether locale support has been -compiled into PostgreSQL, test-ctype to test libc and locale data, -test-sort.pl (uncomment test-sort.py, if you have a Python interpreter -installed), and does tests on PostgreSQL with the provided SQL script -files. +'runall' calls test-ctype to test libc and locale data, test-sort.pl +(uncomment test-sort.py, if you have a Python interpreter installed), and +does tests on PostgreSQL with the provided SQL script files. To add locale tests one needs to create a directory $locale and create a Makefile (and other files) similar to koi8-r/*. Actually, the simplest diff --git a/src/test/locale/de_DE.ISO8859-1/runall b/src/test/locale/de_DE.ISO8859-1/runall index b682dc32a6..dda0305307 100755 --- a/src/test/locale/de_DE.ISO8859-1/runall +++ b/src/test/locale/de_DE.ISO8859-1/runall @@ -3,9 +3,6 @@ PATH=..:$PATH echo "Testing PostgreSQL compilation..." -if ! test-pgsql-locale; then - exit 1 -fi LC_CTYPE=de_DE.ISO8859-1 LC_COLLATE=$LC_CTYPE diff --git a/src/test/locale/gr_GR.ISO8859-7/runall b/src/test/locale/gr_GR.ISO8859-7/runall index da7650bb7f..75c2c58732 100755 --- a/src/test/locale/gr_GR.ISO8859-7/runall +++ b/src/test/locale/gr_GR.ISO8859-7/runall @@ -3,9 +3,6 @@ PATH=..:$PATH echo "Testing PostgreSQL compilation..." -if ! test-pgsql-locale; then - exit 1 -fi LC_CTYPE=gr_GR.ISO8859-7 LC_COLLATE=$LC_CTYPE diff --git a/src/test/locale/koi8-r/runall b/src/test/locale/koi8-r/runall index 2fb6a5de41..3dc7453c09 100755 --- a/src/test/locale/koi8-r/runall +++ b/src/test/locale/koi8-r/runall @@ -3,9 +3,6 @@ PATH=..:$PATH echo "Testing PostgreSQL compilation..." -if ! test-pgsql-locale; then - exit 1 -fi LC_CTYPE=ru_RU.KOI8-R LC_COLLATE=$LC_CTYPE diff --git a/src/test/locale/koi8-to-win1251/runall b/src/test/locale/koi8-to-win1251/runall index a9aeadfa47..b5a16493f9 100755 --- a/src/test/locale/koi8-to-win1251/runall +++ b/src/test/locale/koi8-to-win1251/runall @@ -3,9 +3,6 @@ PATH=..:$PATH echo "Testing PostgreSQL compilation..." -if ! test-pgsql-locale; then - exit 1 -fi LC_CTYPE=ru_RU.KOI8-R LC_COLLATE=$LC_CTYPE diff --git a/src/test/locale/test-pgsql-locale.c b/src/test/locale/test-pgsql-locale.c deleted file mode 100644 index 8369e671dd..0000000000 --- a/src/test/locale/test-pgsql-locale.c +++ /dev/null @@ -1,14 +0,0 @@ - -#include "postgres.h" - -int -main() -{ -#ifdef USE_LOCALE - printf("PostgreSQL compiled with locale support\n"); - return 0; -#else - printf("PostgreSQL compiled without locale support\n"); - return 1; -#endif -} |
