summaryrefslogtreecommitdiffstats
path: root/Lib/test/autotest.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-109162: libregrtest: use relative imports (#109250)Victor Stinner2023-09-111-1/+1
| | | | libregrtest.__init__ no longer exposes any symbol, so "python -m test.libregrtest.worker" imports less modules.
* Cleanup regrtest "main()" functionVictor Stinner2016-03-241-3/+2
| | | | | | | * Rename libregrtest.main_in_temp_cwd() to libregrtest.main() * Add regrtest.main_in_temp_cwd() alias to libregrtest.main() * Move old main_in_temp_cwd() code into libregrtest.Regrtest.main() * Update multiple scripts to call libregrtest.main()
* Complete the absolute import patch for the test suite. All relativeBarry Warsaw2002-07-301-1/+1
| | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
* Rehabilitate autotest.py.Tim Peters2000-08-231-1/+4
| | | | | In README: Write up (Guido's) rules for intra-test imports; warn against asserts; document test_support.use_large_resources.
* Restore old behavior of autotest and testall, using regrtest.Guido van Rossum1997-03-071-163/+3
| | | | This is done for backward compatibility with Python 1.4.
* Set test_support.verbose to 0, to signal tests only to generateGuido van Rossum1996-12-201-0/+2
| | | | portable output.
* In lieu of harness rewrite, fixed problem with test_thread ImportErrorBarry Warsaw1996-12-181-17/+14
| | | | triggering a bogus TestFailed exception.
* Print final report, either all tests OK, or list of failed and missingBarry Warsaw1996-12-121-5/+19
| | | | tests.
* Print a more meaningful message when a test's output file wasn'tBarry Warsaw1996-12-121-1/+5
| | | | found.
* Be more careful with the shuffling of stdout.Guido van Rossum1996-12-111-6/+7
|
* Directory for test output files: Output => outputBarry Warsaw1996-12-101-2/+2
|
* New regression testing harness.Barry Warsaw1996-12-101-34/+112
| | | | | | | | | | | | | (testall.out): obsolete. see individual test output files in the Output directory. (testall.py): now contains only the list of all tests (autotest.py): The new testing harness. Supports -g option to generate output files instead of verifying; -w option to warn about non-tested optional modules; additional command line arguments to generate or test individual tests (useful for generating output file of new tests).
* * Mass change: get rid of all init() methods, in favor of __init__()Guido van Rossum1993-12-171-3/+2
| | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments)
* Added some new tests and two new files for testing: test_types.pyGuido van Rossum1992-11-271-0/+68
(testing operations on built-in types) and autotest.py (automatic regression testing).