File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,6 @@ clean clobber: $(TESTS_BUILD)
370
370
$(RM ) * .$(SYNC_EXT )
371
371
$(RM ) $(FILE_MAX_DAX_DEVICES )
372
372
$(RM ) envconfig.sh envconfig.py
373
- $(RM ) -r __pycache__ * /__pycache__
374
373
375
374
$(TESTS ) $(OBJ_DEPS ) $(LIBPMEMPOOL_DEPS ) $(LIBPMEMPOOL_MOD_DEPS ) : $(TEST_DEPS )
376
375
Original file line number Diff line number Diff line change 6
6
7
7
import sys
8
8
from os import path
9
+
10
+ # Don't create cache files on the import of test modules.
11
+ # Improvement using bytecode in python tf code is insignificant.
12
+ # It is workaround for a pycache clobber issue in our tangled Makefiles.
13
+ sys .dont_write_bytecode = True
9
14
sys .path .insert (1 , path .abspath (path .join (path .dirname (__file__ ), 'unittest' )))
10
15
11
16
# flake8 issues silenced:
You can’t perform that action at this time.
0 commit comments