summaryrefslogtreecommitdiff
path: root/Programs
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-05-18 08:40:37 +0200
committerGitHub <noreply@github.com>2021-05-18 08:40:37 +0200
commit834498e178684a7e2da49b4efe1adea33e0026b0 (patch)
treec3ef0398d242eb4565e0e04b3d6806e20a5df631 /Programs
parenteaede0ded72e67cee4a91c086847d54cb64ca74c (diff)
downloadcpython-git-834498e178684a7e2da49b4efe1adea33e0026b0.tar.gz
bpo-44131: Fix Makefile for test_frozenmain (GH-26203)
Remove Programs/test_frozenmain.h Makefile target: it ran make in parallel which caused build errors on LTO+PGO builds.
Diffstat (limited to 'Programs')
-rw-r--r--Programs/test_frozenmain.h2
-rw-r--r--Programs/test_frozenmain.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/Programs/test_frozenmain.h b/Programs/test_frozenmain.h
index ac3dfd32c2..e680b80e7a 100644
--- a/Programs/test_frozenmain.h
+++ b/Programs/test_frozenmain.h
@@ -25,6 +25,6 @@ unsigned char M_test_frozenmain[] = {
169,0,114,7,0,0,0,114,7,0,0,0,250,18,116,101,
115,116,95,102,114,111,122,101,110,109,97,105,110,46,112,121,
218,8,60,109,111,100,117,108,101,62,1,0,0,0,115,16,
- 0,0,0,8,0,8,1,8,2,12,1,12,1,18,1,18,
+ 0,0,0,8,3,8,1,8,2,12,1,12,1,18,1,18,
1,22,1,243,0,0,0,0,
};
diff --git a/Programs/test_frozenmain.py b/Programs/test_frozenmain.py
index aa79106df6..928b9ea816 100644
--- a/Programs/test_frozenmain.py
+++ b/Programs/test_frozenmain.py
@@ -1,3 +1,6 @@
+# Script used to test Py_FrozenMain(): see test_embed.test_frozenmain().
+# Run "make regen-test-frozenmain" if you modify this test.
+
import sys
import _testinternalcapi