Issue 19745: TEST_DATA_DIR for out-of-tree builds (original) (raw)
Issue19745
Created on 2013-11-24 02:40 by christian.heimes, last changed 2022-04-11 14:57 by admin.
Messages (3) | ||
---|---|---|
msg204166 - (view) | Author: Christian Heimes (christian.heimes) * ![]() |
Date: 2013-11-24 02:40 |
test.support declares a TEST_DATA_DIR directory inside the source tree of Python: TEST_SUPPORT_DIR = os.path.dirname(os.path.abspath(__file__)) TEST_HOME_DIR = os.path.dirname(TEST_SUPPORT_DIR) 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) * ![]() |
Date: 2021-12-07 16:25 |
It does seem to be used here: https://github.com/python/cpython/blob/a6c3b0faa1d55e36539caf19bd3bcf1dea12df84/Lib/test/support/__init__.py#L553 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:54 | admin | set | github: 63944 |
2021-12-07 17:36:56 | iritkatriel | link | issue17780 superseder |
2021-12-07 16:25:34 | iritkatriel | set | nosy: + iritkatrielmessages: + |
2019-04-26 18:06:16 | BreamoreBoy | set | nosy: - BreamoreBoy |
2014-10-03 22:31:51 | BreamoreBoy | set | nosy: + BreamoreBoymessages: + versions: + Python 3.5, - Python 3.3 |
2013-11-24 02:40:50 | christian.heimes | create |