File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -513,6 +513,7 @@ def collect_sysconfig(info_add):
513
513
'MACHDEP' ,
514
514
'MULTIARCH' ,
515
515
'OPT' ,
516
+ 'PGO_PROF_USE_FLAG' ,
516
517
'PY_CFLAGS' ,
517
518
'PY_CFLAGS_NODIST' ,
518
519
'PY_CORE_LDFLAGS' ,
Original file line number Diff line number Diff line change 13
13
from test .support import os_helper , import_helper
14
14
from test .support .script_helper import assert_python_ok
15
15
16
- _py_cflags_nodist = sysconfig .get_config_var ("PY_CFLAGS_NODIST" )
17
- _pgo_flag = sysconfig .get_config_var ("PGO_PROF_USE_FLAG" )
18
- if _pgo_flag and _py_cflags_nodist and _pgo_flag in _py_cflags_nodist :
16
+ if support .check_cflags_pgo ():
19
17
raise unittest .SkipTest ("peg_generator test disabled under PGO build" )
20
18
21
19
test_tools .skip_if_missing ("peg_generator" )
You can’t perform that action at this time.
0 commit comments