Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit76db37b

Browse files
authored
bpo-40112: distutils test_search_cpp: Fix logic to determine if C compiler is xlc on AIX (GH-19225)
1 parentb74468e commit76db37b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎Lib/distutils/tests/test_config_cmd.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ def test_search_cpp(self):
4747
cmd=config(dist)
4848
cmd._check_compiler()
4949
compiler=cmd.compiler
50-
is_xlc=shutil.which(compiler.preprocessor[0]).startswith("/usr/vac")
51-
ifis_xlc:
50+
ifsys.platform[:3]=="aix"and"xlc"incompiler.preprocessor[0].lower():
5251
self.skipTest('xlc: The -E option overrides the -P, -o, and -qsyntaxonly options')
5352

5453
# simple pattern searches

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp