From 883c820923d4bc55b2ce15fb49510383986a05f7 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Tue, 22 Nov 2022 11:34:29 +0100 Subject: [PATCH] Add missing step to C API tests instructions --- developer-workflow/c-api.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/developer-workflow/c-api.rst b/developer-workflow/c-api.rst index 5564bdc9c4..d51814a0f7 100644 --- a/developer-workflow/c-api.rst +++ b/developer-workflow/c-api.rst @@ -122,6 +122,11 @@ To add a new set of tests (or extract a set out of the monolithic - Call the ``_PyTestCapi_Init_*`` from ``PyInit__testcapi`` in ``Modules/_testcapimodule.c``. +- Add the new C file to :cpy-file:`Modules/Setup.stdlib.in`, + :cpy-file:`PCbuild/_testcapi.vcxproj` and + :cpy-file:`PCbuild/_testcapi.vcxproj.filters`, + alongside the other ``_testcapi/*.c`` entries. + Note that all ``Modules/_testcapi/*.c`` sources initialize the same module, so be careful about name collisions.