bpo-14546: Fix the argument handling in Tools/scripts/lll.py by ZackerySpytz · Pull Request #13026 · python/cpython (original) (raw)
From https://github.com/python/cpython
- branch master -> FETCH_HEAD Reset branch 'master'
The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, functio n, script file, or operable program. Check the spelling of the name, or if a pa th was included, verify that the path is correct and try again. At line:1 char:18
- Invoke-WebRequest <<<< https://aka.ms/nugetclidl -OutFile 'D:\cygwin\home\db
3l\buildarea\3.x.bolen-windows7\build\Tools\buildbot....\PCbuild..\externals
\nuget.exe'
- CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], C ommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
'py' is not recognized as an internal or external command, operable program or batch file. '"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Tools\buildbot....\PCbuild..\externals\nuget.exe"' is not recognized as an internal or external command, operable program or batch file. The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, functio n, script file, or operable program. Check the spelling of the name, or if a pa th was included, verify that the path is correct and try again. At line:1 char:18
- Invoke-WebRequest <<<< https://aka.ms/nugetclidl -OutFile 'D:\cygwin\home\db
3l\buildarea\3.x.bolen-windows7\build\Tools\buildbot....\PCbuild..\externals
\nuget.exe'
- CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], C ommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
'py' is not recognized as an internal or external command, operable program or batch file. '"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Tools\buildbot....\PCbuild..\externals\nuget.exe"' is not recognized as an internal or external command, operable program or batch file. Could Not Find D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Lib*.pyc The system cannot find the file specified. Could Not Find D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\PCbuild\python*.zip The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, functio n, script file, or operable program. Check the spelling of the name, or if a pa th was included, verify that the path is correct and try again. At line:1 char:18
- Invoke-WebRequest <<<< https://aka.ms/nugetclidl -OutFile 'D:\cygwin\home\db
3l\buildarea\3.x.bolen-windows7\build\PCbuild\..\externals\nuget.exe'
- CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], C ommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
'py' is not recognized as an internal or external command, operable program or batch file. '"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\PCbuild\..\externals\nuget.exe"' is not recognized as an internal or external command, operable program or batch file.
test_multiprocessing_fork skipped -- fork is not available on Windows test_posix skipped -- No module named 'posix' test_resource skipped -- No module named 'resource' test_spwd skipped -- No module named 'spwd' test_openpty skipped -- os.openpty() not available. test_wait3 skipped -- os.fork not defined test_threadsignals skipped -- Can't test signal on win32 test_nis skipped -- No module named 'nis' test_ioctl skipped -- No module named 'fcntl' test_wait4 skipped -- object <module 'os' from 'D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\os.py'> has no attribute 'fork' test_alter_comments (test.test_tools.test_fixcid.Test) ... ok test_directory (test.test_tools.test_fixcid.Test) ... ok test_parse_strings (test.test_tools.test_fixcid.Test) ... ok test_gprof (test.test_tools.test_gprof2html.Gprof2htmlTests) ... ok test_POT_Creation_Date (test.test_tools.test_i18n.Test_pygettext) Match the date format from xgettext for POT-Creation-Date ... ok test_classdocstring (test.test_tools.test_i18n.Test_pygettext) ... ok test_classdocstring_bytes (test.test_tools.test_i18n.Test_pygettext) ... ok test_classdocstring_early_colon (test.test_tools.test_i18n.Test_pygettext) Test docstring extraction for a class with colons occuring within ... ok test_classdocstring_fstring (test.test_tools.test_i18n.Test_pygettext) ... ok test_files_list (test.test_tools.test_i18n.Test_pygettext) Make sure the directories are inspected for source files ... ok test_funcdocstring (test.test_tools.test_i18n.Test_pygettext) ... ok test_funcdocstring_annotated_args (test.test_tools.test_i18n.Test_pygettext) Test docstrings for functions with annotated args ... ok test_funcdocstring_annotated_return (test.test_tools.test_i18n.Test_pygettext) Test docstrings for functions with annotated return type ... ok test_funcdocstring_bytes (test.test_tools.test_i18n.Test_pygettext) ... ok test_funcdocstring_defvalue_args (test.test_tools.test_i18n.Test_pygettext) Test docstring for functions with default arg values ... ok test_funcdocstring_fstring (test.test_tools.test_i18n.Test_pygettext) ... ok test_funcdocstring_multiple_funcs (test.test_tools.test_i18n.Test_pygettext) Test docstring extraction for multiple functions combining ... ok test_header (test.test_tools.test_i18n.Test_pygettext) Make sure the required fields are in the header, according to: ... ok test_msgid (test.test_tools.test_i18n.Test_pygettext) ... ok test_msgid_bytes (test.test_tools.test_i18n.Test_pygettext) ... ok test_msgid_fstring (test.test_tools.test_i18n.Test_pygettext) ... ok test_lll_multiple_dirs (test.test_tools.test_lll.lllTests) ... ERROR test_checksum_fodder (test.test_tools.test_md5sum.MD5SumTests) ... ok test_dash_l (test.test_tools.test_md5sum.MD5SumTests) ... ok test_dash_s (test.test_tools.test_md5sum.MD5SumTests) ... ok test_dash_t (test.test_tools.test_md5sum.MD5SumTests) ... ok test_multiple_files (test.test_tools.test_md5sum.MD5SumTests) ... ok test_noargs (test.test_tools.test_md5sum.MD5SumTests) ... ok test_usage (test.test_tools.test_md5sum.MD5SumTests) ... ok test_inverse_attribute_error (test.test_tools.test_pdeps.PdepsTests) ... ok test_process_errors (test.test_tools.test_pdeps.PdepsTests) ... ok test_empty_line (test.test_tools.test_pindent.PindentTests) ... ok test_escaped_newline (test.test_tools.test_pindent.PindentTests) ... ok test_multilevel (test.test_tools.test_pindent.PindentTests) ... ok test_oneline (test.test_tools.test_pindent.PindentTests) ... ok test_preserve_indents (test.test_tools.test_pindent.PindentTests) ... ok test_selftest (test.test_tools.test_pindent.PindentTests) ... ok test_statements (test.test_tools.test_pindent.PindentTests) ... ok test_help (test.test_tools.test_reindent.ReindentTests) ... ok test_noargs (test.test_tools.test_reindent.ReindentTests) ... ok test_reindent_file_with_bad_encoding (test.test_tools.test_reindent.ReindentTests) ... ok test_analyze_dxp_import (test.test_tools.test_sundry.TestSundryScripts) ... ok test_sundry (test.test_tools.test_sundry.TestSundryScripts) ... ok test_sundry_windows (test.test_tools.test_sundry.TestSundryScripts) ... ok test_files (test.test_tools.test_unparse.DirectoryTestCase) ... Testing D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Lib\test\dataclass_module_2.py Testing D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Lib\fractions.py Testing D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Lib\test\test_osx_env.py Testing D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Lib_bootlocale.py Testing D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Lib\sre_compile.py Testing D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Lib\test\test_dummy_threading.py Testing D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Lib\test\reperf.py Testing D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Lib\test\test_threadsignals.py Testing D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Lib\struct.py Testing D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Lib\test\test_crypt.py ok test_annotations (test.test_tools.test_unparse.UnparseTestCase) ... ok test_bytes (test.test_tools.test_unparse.UnparseTestCase) ... ok test_chained_comparisons (test.test_tools.test_unparse.UnparseTestCase) ... ok test_class_decorators (test.test_tools.test_unparse.UnparseTestCase) ... ok test_class_definition (test.test_tools.test_unparse.UnparseTestCase) ... ok test_del_statement (test.test_tools.test_unparse.UnparseTestCase) ... ok test_dict_comprehension (test.test_tools.test_unparse.UnparseTestCase) ... ok test_dict_unpacking_in_dict (test.test_tools.test_unparse.UnparseTestCase) ... ok test_elifs (test.test_tools.test_unparse.UnparseTestCase) ... ok test_for_else (test.test_tools.test_unparse.UnparseTestCase) ... ok test_fstrings (test.test_tools.test_unparse.UnparseTestCase) ... ok test_function_arguments (test.test_tools.test_unparse.UnparseTestCase) ... ok test_huge_float (test.test_tools.test_unparse.UnparseTestCase) ... ok test_imaginary_literals (test.test_tools.test_unparse.UnparseTestCase) ... ok test_integer_parens (test.test_tools.test_unparse.UnparseTestCase) ... ok test_lambda_parentheses (test.test_tools.test_unparse.UnparseTestCase) ... ok test_min_int (test.test_tools.test_unparse.UnparseTestCase) ... ok test_nonlocal (test.test_tools.test_unparse.UnparseTestCase) ... ok test_raise_from (test.test_tools.test_unparse.UnparseTestCase) ... ok test_relative_import (test.test_tools.test_unparse.UnparseTestCase) ... ok test_set_comprehension (test.test_tools.test_unparse.UnparseTestCase) ... ok test_set_literal (test.test_tools.test_unparse.UnparseTestCase) ... ok test_shifts (test.test_tools.test_unparse.UnparseTestCase) ... ok test_starred_assignment (test.test_tools.test_unparse.UnparseTestCase) ... ok test_try_except_finally (test.test_tools.test_unparse.UnparseTestCase) ... ok test_unary_parens (test.test_tools.test_unparse.UnparseTestCase) ... ok test_while_else (test.test_tools.test_unparse.UnparseTestCase) ... ok test_with_as (test.test_tools.test_unparse.UnparseTestCase) ... ok test_with_simple (test.test_tools.test_unparse.UnparseTestCase) ... ok test_with_two_items (test.test_tools.test_unparse.UnparseTestCase) ... ok
====================================================================== ERROR: test_lll_multiple_dirs (test.test_tools.test_lll.lllTests)
Traceback (most recent call last): File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_tools\test_lll.py", line 24, in test_lll_multiple_dirs os.symlink(fn, os.path.join(dir, 'symlink')) OSError: [WinError 1314] A required privilege is not held by the client: 'd:\temp\tmplodee1vg\foo1' -> 'd:\temp\tmplodee1vg\symlink'
Ran 75 tests in 37.927s
FAILED (errors=1) test test_tools failed test_epoll skipped -- test works only on Linux 2.6 test_curses skipped -- No module named '_curses' minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN) minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN) minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN) stty: standard input: Inappropriate ioctl for device test_syslog skipped -- No module named 'syslog' test_fork1 skipped -- object <module 'os' from 'D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\os.py'> has no attribute 'fork' test_fcntl skipped -- No module named 'fcntl' test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run test_pwd skipped -- No module named 'pwd' test_gdb skipped -- Couldn't find gdb on the path test_devpoll skipped -- test works only on Solaris OS family minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN) test_grp skipped -- No module named 'grp' test_readline skipped -- No module named 'readline' test_pty skipped -- No module named 'termios' test_multiprocessing_forkserver skipped -- forkserver is not available on Windows test_crypt skipped -- No module named '_crypt' test_poll skipped -- select.poll not defined test_xxtestfuzz skipped -- No module named '_xxtestfuzz' test_kqueue skipped -- test works only on BSD test_dbm_gnu skipped -- No module named '_gdbm' test_pipes skipped -- pipes module only works on posix test_dbm_ndbm skipped -- No module named '_dbm' test_ossaudiodev skipped -- No module named 'ossaudiodev' test test_tools failed
The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, functio n, script file, or operable program. Check the spelling of the name, or if a pa th was included, verify that the path is correct and try again. At line:1 char:18
- Invoke-WebRequest <<<< https://aka.ms/nugetclidl -OutFile 'D:\cygwin\home\db
3l\buildarea\3.x.bolen-windows7\build\Tools\buildbot....\PCbuild..\externals
\nuget.exe'
- CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], C ommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
'py' is not recognized as an internal or external command, operable program or batch file. '"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Tools\buildbot....\PCbuild..\externals\nuget.exe"' is not recognized as an internal or external command, operable program or batch file. The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, functio n, script file, or operable program. Check the spelling of the name, or if a pa th was included, verify that the path is correct and try again. At line:1 char:18
- Invoke-WebRequest <<<< https://aka.ms/nugetclidl -OutFile 'D:\cygwin\home\db
3l\buildarea\3.x.bolen-windows7\build\Tools\buildbot....\PCbuild..\externals
\nuget.exe'
- CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], C ommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
'py' is not recognized as an internal or external command, operable program or batch file. '"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\Tools\buildbot....\PCbuild..\externals\nuget.exe"' is not recognized as an internal or external command, operable program or batch file. Could Not Find D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\PCbuild\python*.zip