summaryrefslogtreecommitdiff
path: root/src/test/locale
diff options
context:
space:
mode:
authorPeter Eisentraut2001-01-19 19:43:27 +0000
committerPeter Eisentraut2001-01-19 19:43:27 +0000
commite4e64e7fef4658296500da6695eb5722752fc93f (patch)
tree8c88e608057b2a3dca6b54de5a63014ee3325a65 /src/test/locale
parent6bb6209beed498065da1197e95e9f0c9af9b2206 (diff)
Update to reality.
Diffstat (limited to 'src/test/locale')
-rw-r--r--src/test/locale/README38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/test/locale/README b/src/test/locale/README
index b32bb03fd75..ba0c4556303 100644
--- a/src/test/locale/README
+++ b/src/test/locale/README
@@ -1,26 +1,26 @@
+$Header: /cvsroot/pgsql/src/test/locale/README,v 1.3 2001/01/19 19:43:27 petere Exp $
-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 the installed
+locale data. Then there are test-sort.pl and test-sort.py that test
+collating.
- 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
+To run a test for some locale run
+ gmake check-$locale
+for example
+ gmake check-koi8-r
- 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.
+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.
- 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.
+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
+(I think) method is just to copy the koi8-r directory and edit/replace
+the files.
Oleg.
----