Skip to content

Commit 51b74ab

Browse files
DaanDeMeyerkeszybz
authored andcommitted
meson: Set PYTHONDONTWRITEBYTECODE=1 in test environment
Let's not pollute the source tree with __pycache__ files.
1 parent 34ae6b6 commit 51b74ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ test_env.set('SYSTEMD_LANGUAGE_FALLBACK_MAP', language_fallback_map)
1515
test_env.set('PATH', meson.project_build_root() + ':' + path)
1616
test_env.set('PROJECT_BUILD_ROOT', meson.project_build_root())
1717
test_env.set('SYSTEMD_SLOW_TESTS', want_slow_tests ? '1' : '0')
18+
test_env.set('PYTHONDONTWRITEBYTECODE', '1')
1819

1920
if efi_addon != ''
2021
test_env.set('EFI_ADDON', efi_addon)

0 commit comments

Comments
 (0)