From: Ian Jackson Date: Thu, 24 Oct 2019 16:43:19 +0000 (+0100) Subject: test-common: Set PYTHONBYTECODEBASE to /dev/null X-Git-Tag: v0.5.0~55 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=commitdiff_plain;h=6f4072caca4c175b8a82410cd54d8da7f2311d43 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 --- 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)