Title: TEST_DATA_DIR for out-of-tree builds
Type: behavior Stage: needs patch
Components: Tests Versions: Python 3.4, Python 3.5
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, iritkatriel
Priority: low Keywords:

Created on 2013-11-24 02:40 by christian.heimes, last changed 2021-12-07 16:25 by iritkatriel.

Messages (3)
msg204166 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-11-24 02:40 declares a TEST_DATA_DIR directory inside the source tree of Python:

TEST_SUPPORT_DIR = os.path.dirname(os.path.abspath(__file__))
TEST_DATA_DIR = os.path.join(TEST_HOME_DIR, "data")

make distclean cleans up the very same directory, see r87481. This feature doesn't cope will with out-of-tree builds with a read-only source directory. It looks like this feature isn't used by any test module. Can I remove it?
msg228404 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-10-03 22:31
Can someone answer Christian's question please.
msg407948 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-12-07 16:25
It does seem to be used here:
Date User Action Args
2021-12-07 17:36:56iritkatriellinkissue17780 superseder
2021-12-07 16:25:34iritkatrielsetnosy: + iritkatriel
messages: + msg407948
2019-04-26 18:06:16BreamoreBoysetnosy: - BreamoreBoy
2014-10-03 22:31:51BreamoreBoysetnosy: + BreamoreBoy

messages: + msg228404
versions: + Python 3.5, - Python 3.3
2013-11-24 02:40:50christian.heimescreate