From 6f4072caca4c175b8a82410cd54d8da7f2311d43 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 24 Oct 2019 17:43:19 +0100 Subject: [PATCH] test-common: Set PYTHONBYTECODEBASE to /dev/null Python is not entirely reliable at figuring out when its .pyc files are out of date, especially if you do something like git-rebase -i --exec 'make check-mtest' So squash the bytecode cache entirely. Signed-off-by: Ian Jackson --- test-common.make.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test-common.make.in b/test-common.make.in index 2f3c248..8279829 100644 --- a/test-common.make.in +++ b/test-common.make.in @@ -11,6 +11,8 @@ DEPS += Makefile TARGETS += check +export PYTHONBYTECODEBASE=/dev/null + all: $(TARGETS) check-real: $(foreach t,$(TESTNAMES),d-$t/ok) -- 2.30.2