diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2021-10-01 00:38:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 00:38:52 (GMT) |
commit | 7e5c107541726b90d3f2e6e69ef37180cf58335d (patch) | |
tree | a6f6a4000b9217be777e8f680e0ec9c2f107eaf3 /PCbuild/_freeze_module.vcxproj | |
parent | ec4d917a6a68824f1895f75d113add9410283da7 (diff) | |
download | cpython-7e5c107541726b90d3f2e6e69ef37180cf58335d.zip cpython-7e5c107541726b90d3f2e6e69ef37180cf58335d.tar.gz cpython-7e5c107541726b90d3f2e6e69ef37180cf58335d.tar.bz2 |
bpo-45020: Add more test cases for frozen modules. (gh-28664)
I've added a number of test-only modules. Some of those cases are covered by the recently frozen stdlib modules (and some will be once we add encodings back in). However, I figured we'd play it safe by having a set of modules guaranteed to be there during tests.
https://bugs.python.org/issue45020
Diffstat (limited to 'PCbuild/_freeze_module.vcxproj')
-rw-r--r-- | PCbuild/_freeze_module.vcxproj | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj index ea6532d..12bdde2 100644 --- a/PCbuild/_freeze_module.vcxproj +++ b/PCbuild/_freeze_module.vcxproj @@ -305,6 +305,31 @@ <IntFile>$(IntDir)__hello__.g.h</IntFile> <OutFile>$(PySourcePath)Python\frozen_modules\__hello__.h</OutFile> </None> + <None Include="..\Lib\__phello__\__init__.py"> + <ModName>__phello__</ModName> + <IntFile>$(IntDir)__phello__.g.h</IntFile> + <OutFile>$(PySourcePath)Python\frozen_modules\__phello__.h</OutFile> + </None> + <None Include="..\Lib\__phello__\ham\__init__.py"> + <ModName>__phello__.ham</ModName> + <IntFile>$(IntDir)__phello__.ham.g.h</IntFile> + <OutFile>$(PySourcePath)Python\frozen_modules\__phello__.ham.h</OutFile> + </None> + <None Include="..\Lib\__phello__\ham\eggs.py"> + <ModName>__phello__.ham.eggs</ModName> + <IntFile>$(IntDir)__phello__.ham.eggs.g.h</IntFile> + <OutFile>$(PySourcePath)Python\frozen_modules\__phello__.ham.eggs.h</OutFile> + </None> + <None Include="..\Lib\__phello__\spam.py"> + <ModName>__phello__.spam</ModName> + <IntFile>$(IntDir)__phello__.spam.g.h</IntFile> + <OutFile>$(PySourcePath)Python\frozen_modules\__phello__.spam.h</OutFile> + </None> + <None Include="..\Tools\freeze\flag.py"> + <ModName>frozen_only</ModName> + <IntFile>$(IntDir)frozen_only.g.h</IntFile> + <OutFile>$(PySourcePath)Python\frozen_modules\frozen_only.h</OutFile> + </None> <!-- END frozen modules --> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |