From: Daan De Meyer Date: Tue, 1 Apr 2025 14:11:14 +0000 (+0200) Subject: meson: Set PYTHONDONTWRITEBYTECODE=1 in test environment X-Git-Tag: v258-rc1~968 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51b74abb4809343751a86df6ccba351862a2f88c;p=thirdparty%2Fsystemd.git meson: Set PYTHONDONTWRITEBYTECODE=1 in test environment Let's not pollute the source tree with __pycache__ files. --- diff --git a/src/test/meson.build b/src/test/meson.build index 9a6e6104ec1..4ef296a41aa 100644 --- a/src/test/meson.build +++ b/src/test/meson.build @@ -15,6 +15,7 @@ test_env.set('SYSTEMD_LANGUAGE_FALLBACK_MAP', language_fallback_map) test_env.set('PATH', meson.project_build_root() + ':' + path) test_env.set('PROJECT_BUILD_ROOT', meson.project_build_root()) test_env.set('SYSTEMD_SLOW_TESTS', want_slow_tests ? '1' : '0') +test_env.set('PYTHONDONTWRITEBYTECODE', '1') if efi_addon != '' test_env.set('EFI_ADDON', efi_addon)