gh-91048: Refactor _testexternalinspection and add Windows support (#… · python/cpython@e8cf3a1 · GitHub
Skip to content

Commit e8cf3a1

Browse files
authored
gh-91048: Refactor _testexternalinspection and add Windows support (#132852)
1 parent f6fb498 commit e8cf3a1

8 files changed

Lines changed: 1337 additions & 1481 deletions

Lib/test/test_external_inspection.py

Lines changed: 153 additions & 84 deletions
Large diffs are not rendered by default.

Modules/_testexternalinspection.c

Lines changed: 216 additions & 653 deletions
Large diffs are not rendered by default.
Lines changed: 114 additions & 0 deletions
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Source Files">
5+
<UniqueIdentifier>{6d101329-41df-49a0-8639-f35408ad7c6d}</UniqueIdentifier>
6+
</Filter>
7+
<Filter Include="Resource Files">
8+
<UniqueIdentifier>{711941d1-269c-49cb-a733-759b2b91fc61}</UniqueIdentifier>
9+
</Filter>
10+
</ItemGroup>
11+
<ItemGroup>
12+
<ClCompile Include="..\Modules\_testexternalinspection.c" />
13+
</ItemGroup>
14+
<ItemGroup>
15+
<ResourceCompile Include="..\PC\python_nt.rc">
16+
<Filter>Resource Files</Filter>
17+
</ResourceCompile>
18+
</ItemGroup>
19+
</Project>
20+

PCbuild/pcbuild.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<ExtensionModules Include="@(ExternalModules->'%(Identity)')" Condition="$(IncludeExternals)" />
8080
<Projects Include="@(ExtensionModules->'%(Identity).vcxproj')" Condition="$(IncludeExtensions)" />
8181
<!-- Test modules -->
82-
<TestModules Include="_ctypes_test;_testbuffer;_testcapi;_testlimitedcapi;_testinternalcapi;_testembed;_testimportmultiple;_testmultiphase;_testsinglephase;_testconsole;_testclinic;_testclinic_limited" />
82+
<TestModules Include="_ctypes_test;_testbuffer;_testcapi;_testlimitedcapi;_testexternalinspection;_testinternalcapi;_testembed;_testimportmultiple;_testmultiphase;_testsinglephase;_testconsole;_testclinic;_testclinic_limited" />
8383
<TestModules Include="xxlimited" Condition="'$(Configuration)' == 'Release'" />
8484
<TestModules Include="xxlimited_35" Condition="'$(Configuration)' == 'Release'" />
8585
<Projects Include="@(TestModules->'%(Identity).vcxproj')" Condition="$(IncludeTests)">

PCbuild/pcbuild.sln

Lines changed: 34 additions & 0 deletions

0 commit comments

Comments
 (0)