cpython/Lib/test/output
Jeremy Hylton 3090694068 Fix compileall.py so that it fails on SyntaxErrors
The changes cause compilation failures in any file in the Python
installation lib directory to cause the install to fail.  It looks
like compileall.py intended to behave this way, but a change to
py_compile.py and a separate bug defeated it.

Fixes SF bug #412436

This change affects the test suite, which contains several files that
contain intentional errors.  The solution is to extend compileall.py
with the ability to skip compilation of selected files.

In the test suite, rename nocaret.py and test_future[3..7].py to start
with badsyntax_nocaret.py and badsyntax_future[3..7].py.  Update the
makefile to skip compilation of these files.  Update the tests to use
the name names for imports.

NB compileall.py is changed so that compile_dir() returns success only
if all recursive calls to compile_dir() also check success.
2001-04-18 01:19:28 +00:00
..
test___all__ added __all__ lists to a number of Python modules 2001-01-20 19:54:20 +00:00
test___future__ Add __future__.py to std library, + dull test to verify that assignments 2001-02-26 21:14:49 +00:00
test_al Output file for test_al.py 1997-01-03 22:39:31 +00:00
test_array Test output files in their new location 1996-12-10 23:20:09 +00:00
test_asynchat Add test for asynchat. This also tests asyncore. 2001-04-06 16:32:22 +00:00
test_atexit Added the atexit module and documentation from Skip Montanaro 2000-06-28 15:07:31 +00:00
test_audioop Two new files (to shut up regrtest). 1996-12-20 03:14:42 +00:00
test_augassign Support for augmented assignment in the UserList, UserDict, UserString and 2000-08-24 20:14:10 +00:00
test_bastion add test of bastion and rexec to std regression test suite 2001-01-19 03:22:48 +00:00
test_binascii Test output. 1999-10-19 19:09:00 +00:00
test_binhex Test output for test_binhex.py. 1999-10-19 19:07:33 +00:00
test_bisect Fred, THIS NEEDS DOCS! The function docstrings tell the tale. 2000-12-29 02:06:45 +00:00
test_bsddb Output from test script for the bsddb C extension module. 1997-01-16 22:04:35 +00:00
test_bufio MS Win32 .readline() speedup, as discussed on Python-Dev. This is a tricky 2001-01-07 21:19:34 +00:00
test_builtin Now that Marc-Andre has retracted unistr(), remove the tests. 2001-01-19 21:57:52 +00:00
test_capi Patch derived from Trent's 101162: a Python/C API testing framework. 2001-02-02 05:57:15 +00:00
test_cd Output file for test_cd.py 1997-01-03 22:58:43 +00:00
test_cfgparser Make sure ConfigParser uses .optionxform() consistently; this affects 2001-02-26 21:55:34 +00:00
test_cgi fix bug #110661 (PR#356) -- accept either & or ; as separator for CGI 2000-09-15 20:06:57 +00:00
test_charmapcodec Moved the test codec definition to a new module and updated the test and 2001-01-10 10:21:11 +00:00
test_cl Test output for the SGI cl C module test script. 1997-01-17 15:59:16 +00:00
test_class Apply SF patch #101029: call __getitem__ with a proper slice object if there 2000-08-17 22:37:32 +00:00
test_cmath Test output files in their new location 1996-12-10 23:20:09 +00:00
test_coercion Sequence repeat works now for in-place multiply with an integer type 2001-01-04 01:36:25 +00:00
test_compare No more RCmp. 2001-01-04 01:36:50 +00:00
test_compile SF patch #103749: implicit tuple + default arg 2001-02-19 23:53:42 +00:00
test_complex SF bug [ #409448 ] Complex division is braindead 2001-03-18 08:21:57 +00:00
test_contains test_contains output 2000-03-06 21:08:08 +00:00
test_cookie Since Guido fiddled Cookie.py to work with doctest, it's a Good Thing to 2001-04-06 21:20:58 +00:00
test_copy_reg Test the exception-raising for error cases in copy_reg. 2000-10-11 22:17:35 +00:00
test_cpickle Reorganize pickle/cPickle testing so the tests pass regardless of the order 2001-01-22 22:05:20 +00:00
test_crypt Revised output for test_crypt 1996-12-16 20:44:16 +00:00
test_dbm Test output files in their new location 1996-12-10 23:20:09 +00:00
test_difflib Changed doctest to run tests in alphabetic order of name. 2001-03-21 23:07:59 +00:00
test_dl Output files for test_dl and test_errno 1996-12-16 20:36:05 +00:00
test_doctest Changed doctest to run tests in alphabetic order of name. 2001-03-21 23:07:59 +00:00
test_dospath test case output for dospath regr test 2000-08-23 20:07:21 +00:00
test_dumbdbm A dumb test for the dumdbm module. 2001-01-18 16:46:52 +00:00
test_errno Output files for test_dl and test_errno 1996-12-16 20:36:05 +00:00
test_exceptions Allow 'continue' inside 'try' clause 2001-02-01 22:48:12 +00:00
test_extcall Test cases for examples of ext call error handling. 2001-04-11 13:53:35 +00:00
test_fcntl Added the test output for fcntl. 1996-12-17 17:41:36 +00:00
test_file Output of the new test 2000-08-25 22:37:51 +00:00
test_fnmatch Add test cases for the fnmatch module. 2001-03-21 18:29:25 +00:00
test_fork1 Test case for fork1() behavior. 2000-02-25 19:25:05 +00:00
test_format Marc-Andre Lemburg <mal@lemburg.com>: 2000-06-30 10:28:32 +00:00
test_funcattrs Committing PEP 232, function attribute feature, approved by Guido. 2001-01-15 20:30:15 +00:00
test_future Fix compileall.py so that it fails on SyntaxErrors 2001-04-18 01:19:28 +00:00
test_gc remove all prints (since the prints where of memory locations) 2000-06-30 15:13:15 +00:00
test_gdbm Test output for the GNU dbm module (gdbm) 1996-12-17 19:54:46 +00:00
test_getopt Don't reference a module named test.test_support. Always use plain 2000-08-21 22:59:29 +00:00
test_gettext Expand the test suite to test both the GNU gettext and translation 2000-08-30 03:32:07 +00:00
test_gl Test output for the gl C extension module. 1996-12-24 19:36:33 +00:00
test_global test_global was broken by some recent checkin. Repairing. 2001-03-02 01:48:16 +00:00
test_grammar Add test for a list comprehension that is nested in the left-hand part 2001-03-19 20:42:11 +00:00
test_grp Test script output for the UNIX group file access module (grp) 1996-12-18 19:37:07 +00:00
test_gzip Jonathan Giddy discovered this file was missing. 1999-03-29 15:28:54 +00:00
test_hash This patch addresses two main issues: (1) There exist some non-fatal 2000-06-29 19:17:04 +00:00
test_httplib Add test for SF bug #405427 2001-04-13 14:57:44 +00:00
test_imageop test output for SGI imageop C module. 1996-12-20 20:47:17 +00:00
test_imgfile Output for test script for the SGI imgfile module. 1996-12-20 21:42:09 +00:00
test_import Adding Jeremy's new test_import (SF patch 101709). 2000-10-06 18:46:22 +00:00
test_inspect inspect: a module for getting information out of live Python objects 2001-02-27 14:43:21 +00:00
test_largefile Add largefile support for Linux64 and WIn64. Add test_largefile and some minor 2000-08-11 19:02:59 +00:00
test_linuxaudiodev better format names and error messages 2001-01-15 22:21:39 +00:00
test_locale Patch #415777: new grouping strategy. 2001-04-13 08:09:50 +00:00
test_long fix bug #42 reported by Andrew Dalke 2000-07-11 15:15:31 +00:00
test_longexp Charles G. Waldman <cgq@fnal.gov>: 2000-08-24 00:35:38 +00:00
test_mailbox Added test for regression on SourceForge bug #117490. 2000-10-23 13:39:15 +00:00
test_math Test for math.* exceptional behavior only in verbose mode, so that the 2000-10-16 17:35:13 +00:00
test_md5 Test output files in their new location 1996-12-10 23:20:09 +00:00
test_mimetools Add mimetools testcase. 2000-09-30 17:03:19 +00:00
test_MimeWriter Now that test_MimeWriter is untabified, do the same here! 1998-06-11 22:22:39 +00:00
test_minidom Added test case for legal DOM children 2000-12-31 04:03:27 +00:00
test_mmap Fix the test output, now that escapes in repr() of string and Unicode 2001-01-24 21:49:57 +00:00
test_new Output files 1996-12-23 23:40:11 +00:00
test_nis Output files 1996-12-23 23:40:11 +00:00
test_ntpath New test for ntpath module 1999-02-03 17:21:21 +00:00
test_opcodes Add test for function comparisons 1997-08-05 16:52:50 +00:00
test_openpty output for openpty test 2000-07-01 03:34:14 +00:00
test_operations Test case to exercise fix for error propogation bug in dictionarys. 2000-08-31 19:48:52 +00:00
test_operator Output files 1996-12-23 23:40:11 +00:00
test_parser Add more regression tests, including for the import statement variations. 2001-01-07 06:02:19 +00:00
test_pickle Fix Bug #114293: 2000-09-15 15:14:51 +00:00
test_pkg Patch #103343: Allow the important test_pkg to succeed under Jython. 2001-01-21 19:51:53 +00:00
test_poll Tim Peters: 2000-08-26 09:59:01 +00:00
test_popen2 Added os.popen2() and os.popen3() for non-Windows platforms. 2000-08-28 17:20:05 +00:00
test_posixpath new test for posixpath module 2000-07-12 00:20:45 +00:00
test_pow Two new files (to shut up regrtest). 1996-12-20 03:14:42 +00:00
test_pty Thomas Wouters <thomas@xs4all.net>: 2000-06-30 23:22:35 +00:00
test_pwd Output files 1996-12-23 23:40:11 +00:00
test_pyexpat Fix the test output, now that escapes in repr() of string and Unicode 2001-01-24 21:46:18 +00:00
test_re -- enabled some temporarily disabled RE tests 2000-08-08 17:06:53 +00:00
test_regex Changes to make these tests work on the Mac. 1997-05-16 13:51:48 +00:00
test_rfc822 Test the rfc822.py module. Contains just a few simple cases, and some 1999-01-14 20:00:58 +00:00
test_rgbimg Output of rgbimg module test 1996-12-11 21:42:38 +00:00
test_richcmp Rich comparison tests 2001-01-18 15:48:05 +00:00
test_rotor Fix the test output, now that escapes in repr() of string and Unicode 2001-01-24 21:49:57 +00:00
test_sax Added a test case for the saxutils.prepare_input_source setSystemId bug. 2000-10-24 16:00:22 +00:00
test_scope Add tests for recent changes: 2001-03-21 16:44:39 +00:00
test_select fix bug #42 reported by Andrew Dalke 2000-07-11 15:15:31 +00:00
test_sha Added Jeremy's test code for the sha module. 1999-03-24 19:04:32 +00:00
test_signal Output for signal module test 1997-01-03 16:01:20 +00:00
test_socket Print less in test_socket. 1997-05-09 01:54:45 +00:00
test_sre SRE 2.1b2: increase the chances that the sre test works on other 2001-03-22 23:48:28 +00:00
test_strftime Fixed test_strftime to be silent when called from autotest. 1996-12-12 19:07:19 +00:00
test_string Output for the regression test of the new string methods. 1999-06-10 22:53:23 +00:00
test_StringIO In O_writelines: Replace use of string.joinfields with "".join. 2001-02-09 23:44:22 +00:00
test_strop New output file for strop test 1997-01-06 22:46:45 +00:00
test_struct Fixed 1996-12-13 18:05:28 +00:00
test_sunaudiodev Test of the sunaudiodev module -- it simply plays a sound if it can 1997-01-07 21:05:29 +00:00
test_sundry Jeremy's patch #103323: trivial tests of all untested modules. 2001-01-19 05:41:36 +00:00
test_symtable Add minimal interface to symtable: _symtable module. 2001-02-02 18:24:26 +00:00
test_thread (test_thread): output from thread test 1996-12-16 23:42:56 +00:00
test_threadedtempfile Guido found a brand new race in tempfile on Linux, due to Linux changing 2001-01-13 03:04:02 +00:00
test_time Test output files in their new location 1996-12-10 23:20:09 +00:00
test_timing Output for test of the timing module 1997-01-13 23:03:54 +00:00
test_tokenize Update to reflect new tokenize_test.py 2001-04-13 14:55:18 +00:00
test_traceback Test that traceback module works with SyntaxErrors with or without carets. 2001-03-21 20:33:04 +00:00
test_types Test output files in their new location 1996-12-10 23:20:09 +00:00
test_ucn improved the ucnhash test a bit 2001-01-19 11:13:46 +00:00
test_unicode Removing UTF-16 aware Unicode comparison code. This kind of compare 2000-08-08 08:04:29 +00:00
test_unicodedata Added 38,642 missing characters to the Unicode database (first-last 2000-11-03 20:24:15 +00:00
test_unpack Output for sequence unpacking test 1997-08-25 22:15:22 +00:00
test_urllib fixes bug #111951 2000-08-31 15:48:10 +00:00
test_urlparse Add test cases based on RFC 1808. So now we actually have a test suite 2001-01-05 05:57:04 +00:00
test_userdict Test suite for UserDict 1999-03-26 15:32:05 +00:00
test_userlist Test suite for UserList. 1999-03-26 16:20:45 +00:00
test_userstring factor out test definitions to string_tests module 2000-07-10 17:08:42 +00:00
test_wave wave test output 2000-10-09 20:06:50 +00:00
test_weakref Convert the weakref test suite to PyUNIT, and add tests that exercise weak 2001-03-23 04:22:45 +00:00
test_winreg Remove erroneous empty trailing line. (cause test_winreg.py failure) 2000-07-27 23:26:28 +00:00
test_winsound Added test_winsound by Mark Hammond. 2000-04-21 21:28:47 +00:00
test_xmllib Adding output of test_xmllib.py 1998-02-13 16:35:21 +00:00
test_xreadline Assorted xreadlines problems: 2001-01-09 23:26:39 +00:00
test_zipfile Output from test_zipfile.py. 2000-04-10 13:24:00 +00:00
test_zlib Add test case from bug #124981: zlib decompress of sync-flushed data 2001-02-21 02:17:01 +00:00