test_extensions: make meson.build consistent with Makefile.
authorJeff Davis <[email protected]>
Tue, 20 Jun 2023 01:08:59 +0000 (18:08 -0700)
committerJeff Davis <[email protected]>
Tue, 20 Jun 2023 01:30:51 +0000 (18:30 -0700)
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

contrib/unaccent/meson.build
src/test/modules/test_extensions/meson.build

index 284d34ee291dbd704bf84669d945fa1139663598..bd629ec090e4651f1d288ce6f6ce9e8119eb3256 100644 (file)
@@ -37,6 +37,6 @@ tests += {
     'sql': [
       'unaccent',
     ],
-    'regress_args': ['--encoding=UTF8', '--no-locale'],
+    'regress_args': ['--no-locale', '--encoding=UTF8'],
   },
 }
index 29e5bb2fb559d84b7038f7fd914d23e2c1f51655..698775b28d84359c50e00e514a6aa27797efa044 100644 (file)
@@ -47,5 +47,6 @@ tests += {
       'test_extensions',
       'test_extdepend',
     ],
+    'regress_args': ['--no-locale', '--encoding=UTF8'],
   },
 }