test_extensions: make meson.build consistent with Makefile.

Specify --no-locale and --encoding=UTF8 to be consistent with the
Makefile, which specifies NO_LOCALE=1. Fixes test for some locales
when meson is used and ICU is disabled. May have been an oversight in
e6927270cd.

Also switch argument order in unaccent/meson.build to make it
consistent in style.

Discussion: https://postgr.es/m/CABwTF4Wz41pNMJ9q3tpH=6mnvg6aopDU5Lzvers5=6=WJVekww@mail.gmail.com
Author: Gurjeet Singh
Author: Jeff Davis
This commit is contained in:
Jeff Davis 2023-06-19 18:08:59 -07:00
parent 68cb5af46c
commit 877bf52cff
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,6 @@ tests += {
'sql': [
'unaccent',
],
'regress_args': ['--encoding=UTF8', '--no-locale'],
'regress_args': ['--no-locale', '--encoding=UTF8'],
},
}

View File

@ -47,5 +47,6 @@ tests += {
'test_extensions',
'test_extdepend',
],
'regress_args': ['--no-locale', '--encoding=UTF8'],
},
}