diff options
author | Jeff Davis <jdavis@postgresql.org> | 2023-12-21 15:10:13 -0800 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2023-12-21 15:10:13 -0800 |
commit | 8793c60051541c8df8dbe133cb9cf8138efe3b3f (patch) | |
tree | 5f14a564d5e9124febaaa296a14e8fe964f6f277 | |
parent | ffc6ab9b56ae02a64349c8c6b59dd659dab5516a (diff) | |
download | postgresql-8793c60051541c8df8dbe133cb9cf8138efe3b3f.tar.gz postgresql-8793c60051541c8df8dbe133cb9cf8138efe3b3f.zip |
Initialize data directories with --lc-messages=C for tests.
Commit db6d9891e8 changed them to be initialized with --no-locale, but
that reduced the test coverage for non-C locales.
Discussion: https://postgr.es/m/0d47e5ecc037b3908149aad5f2a987793cf938bd.camel%40j-davis.com
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | src/Makefile.global.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 4e98cbefe4e..21abd7da858 100644 --- a/meson.build +++ b/meson.build @@ -3115,7 +3115,7 @@ sys.exit(sp.returncode) ''', test_initdb_template, temp_install_bindir / 'initdb', - '--auth', 'trust', '--no-sync', '--no-instructions', '--no-locale', + '--auth', 'trust', '--no-sync', '--no-instructions', '--lc-messages=C', '--no-clean' ], priority: setup_tests_priority - 1, diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 104e5de0fe2..f8e461cbadb 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -423,7 +423,7 @@ ifeq ($(MAKELEVEL),0) $(MAKE) -C '$(top_builddir)' DESTDIR='$(abs_top_builddir)'/tmp_install install >'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1 $(MAKE) -j1 $(if $(CHECKPREP_TOP),-C $(CHECKPREP_TOP),) checkprep >>'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1 - $(with_temp_install) initdb --auth trust --no-sync --no-instructions --no-locale --no-clean '$(abs_top_builddir)'/tmp_install/initdb-template >>'$(abs_top_builddir)'/tmp_install/log/initdb-template.log 2>&1 + $(with_temp_install) initdb --auth trust --no-sync --no-instructions --lc-messages=C --no-clean '$(abs_top_builddir)'/tmp_install/initdb-template >>'$(abs_top_builddir)'/tmp_install/log/initdb-template.log 2>&1 endif endif endif |