mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 01:36:59 +02:00
7be5d8df1f
We've had a mixture of the warnings pragma, the -w switch on the shebang line, and no warnings at all. This patch removes the -w swicth and add the warnings pragma to all perl sources missing it. It raises the severity of the TestingAndDebugging::RequireUseWarnings perlcritic policy to level 5, so that we catch any future violations. Discussion: https://postgr.es/m/20200412074245.GB623763@rfd.leadboat.com |
||
---|---|---|
.. | ||
de_DE.ISO8859-1 | ||
gr_GR.ISO8859-7 | ||
koi8-r | ||
koi8-to-win1251 | ||
.gitignore | ||
Makefile | ||
README | ||
sort-test.pl | ||
sort-test.py | ||
test-ctype.c |
src/test/locale/README Locales ======= 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. To run a test for some locale run make check-$locale for example make check-koi8-r Currently, there are only tests for a few locales available. The script '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 (I think) method is just to copy the koi8-r directory and edit/replace the files. Oleg. ---- Oleg Broytmann http://members.xoom.com/phd2/ phd2@earthling.net