summaryrefslogtreecommitdiff
path: root/Modules/Setup.stdlib.in
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2022-07-08 17:56:26 +0200
committerGitHub <noreply@github.com>2022-07-08 08:56:26 -0700
commitbe862b4e55cfe3413752aba2437f9086b5315d08 (patch)
tree739bc94ca32263de3107e99dc054663e48d93bdf /Modules/Setup.stdlib.in
parentefb20a97c491821acb03564f526afaf9eed47eef (diff)
downloadcpython-git-be862b4e55cfe3413752aba2437f9086b5315d08.tar.gz
gh-93649: Split vectorcall testing from _testcapimodule.c (GH-94549)
The `_testcapimodule.c` file is getting too large to work with effectively. This PR lays out a general structure of how tests can be split up, with more splitting to come later if the structure is OK. Vectorcall tests aren't the biggest issue -- it's just an area I want to work on next, so I'm starting here. An issue specific to vectorcall tests is that it wasn't clear that e.g. `MethodDescriptor2` is related to testing vectorcall: the `/* Test PEP 590 */` section had an ambiguous end. Separate file should make things like this much clearer. OTOH, for some pieces it might not be clear where they should be -- I left `meth_fastcall` with tests of the other calling conventions. IMO, even with the ambiguity it's still worth it to split the huge file up. I'm not sure about the buildsystem changes, hopefully CI will tell me what's wrong. @vstinner, @markshannon: Do you think this is a good idea? Automerge-Triggered-By: GH:encukou
Diffstat (limited to 'Modules/Setup.stdlib.in')
-rw-r--r--Modules/Setup.stdlib.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Setup.stdlib.in b/Modules/Setup.stdlib.in
index 7357aacd72..581a5c7f97 100644
--- a/Modules/Setup.stdlib.in
+++ b/Modules/Setup.stdlib.in
@@ -168,7 +168,7 @@
@MODULE__XXTESTFUZZ_TRUE@_xxtestfuzz _xxtestfuzz/_xxtestfuzz.c _xxtestfuzz/fuzzer.c
@MODULE__TESTBUFFER_TRUE@_testbuffer _testbuffer.c
@MODULE__TESTINTERNALCAPI_TRUE@_testinternalcapi _testinternalcapi.c
-@MODULE__TESTCAPI_TRUE@_testcapi _testcapimodule.c
+@MODULE__TESTCAPI_TRUE@_testcapi _testcapimodule.c _testcapi/vectorcall.c
# Some testing modules MUST be built as shared libraries.
*shared*