postgresql/src/test/locale
Peter Eisentraut 805e431a38 Add support for VPATH builds, that is, building somewhere else than in the
source directory.  This involves mostly makefiles using $(srcdir) when they
might have used ".".  (Regression tests don't work with this, yet.)

Sort out usage of CPPFLAGS, CFLAGS (and CXXFLAGS).  Add "override" keyword
in most places, to preserve necessary flags even when the user overrode the
flags.
2000-10-20 21:04:27 +00:00
..
de_DE.ISO8859-1 Proper unpack de_DE.ISO-8859-1 2000-03-19 19:52:44 +00:00
gr_GR.ISO8859-7 Solaris has always had problems with 1947 in the 2000-02-06 05:09:42 +00:00
koi8-r Solaris has always had problems with 1947 in the 2000-02-06 05:09:42 +00:00
koi8-to-win1251 Solaris has always had problems with 1947 in the 2000-02-06 05:09:42 +00:00
Makefile Add support for VPATH builds, that is, building somewhere else than in the 2000-10-20 21:04:27 +00:00
README Addition to test/locale submitted by Oleg Broytmann. Comments from him: 1999-03-29 09:00:19 +00:00
sort-test.pl Hello! 1998-06-16 06:42:02 +00:00
sort-test.py Hello! 1998-06-16 06:42:02 +00:00
test-ctype.c OK, folks, here is the pgindent output. 1998-09-01 04:40:42 +00:00
test-pgsql-locale.c Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00

README

1998 May 25

   This directory contains a set of tests for locales. I provided one C
program test-ctype.c to test CTYPE support in libc and installed
localedata. Then there are test-sort.pl and test-sort.py that tests
collating. (Also there is test-sort.py but it is commented out in scripts;
uncomment it if you have Python interpreter installed).
   To run a test for some locale (koi8, e.g) run
make all test-$locale
   (for example)
make all test-koi8

   Currently, only tests for koi8 locale (russian cyrillic for UN*X)
provided in koi8 directory. Script `runall' calls test-pgsql-locale to test
whether locale support had been compiled into PotgreSQL, test-ctype to test
libc and localedata, test-sort.pl (uncomment test-sort.py, if you have
Python interpreter installed) and does tests on PostgreSQL with
test-koi8*.sql.in.

   To add locale tests one need to create directory $locale and create
Makefile (and other files) similar to koi8-r/*. Actually, the simplest (I
think) method is just copy koi8-r directory and edit/replace files.

Oleg.
---- 
    Oleg Broytmann     http://members.xoom.com/phd2/     phd2@earthling.net