Commit Graph

4826 Commits

Author SHA1 Message Date
Roger E. Masse 0e12032748 Renamed. 1996-12-13 20:33:44 +00:00
Roger E. Masse 7eee08d04f Test for the dl module. This only works for SunOS and Solaris.
I've attempted to make a test that silently exits if either
module dl is not present, we're not on a Sun OS, or a standard
shared library ('/usr/lib/libresolv.so') is not found...  Otherwise,
It does a simple test of dlmodule on that library.  I *think*
this would be ok to add to testall.py but I'll wait till I hear
some feedback on the liberalness of this approach.
1996-12-13 20:32:26 +00:00
Barry Warsaw 2cc8163e30 nonstandard_expectations is only added when in verbose mode, so we
don't need the if test for verbosity when checking for results of an
unsupported option.
1996-12-13 18:12:34 +00:00
Barry Warsaw 4c23b5fdbc Hmm, now that I think about it, we *can* use time.time() and 'date' if
running verbose.
1996-12-13 18:08:58 +00:00
Barry Warsaw 4eb01cd372 More or less portabilized.
1. If a conversion isn't supported on the current platform, just
   ignore it, unless running as a script (i.e. verbose)

2. Don't use time.time() and os.popen('date') to get the raw values.
   These will always be different!
1996-12-13 18:07:07 +00:00
Barry Warsaw 3c700ed613 Fixed 1996-12-13 18:05:28 +00:00
Guido van Rossum 4e7f62229e Get rid of it -- use bsddb! 1996-12-13 16:24:06 +00:00
Roger E. Masse bd4b961a0d Opps, fixed a couple of newly introduced wrapping problems. 1996-12-13 15:59:22 +00:00
Roger E. Masse e7ee8c3753 Reindented via GvR recomendation ala Bwarsaw cppy-style.el 1996-12-13 15:55:22 +00:00
Guido van Rossum 8d40c843c1 Added quote_plus() and unquote_plus(), to do space/plus substitutions
for form field values.
Also corrected substitution example (the original changed the spelling
of "conolly" to "connolly" :).
1996-12-13 14:48:47 +00:00
Guido van Rossum 0564e12367 Added quote_plus() and unquote_plus(), to do space/plus substitutions
for form field values.
1996-12-13 14:47:36 +00:00
Guido van Rossum fbcfd52a9a Added the example "thin ice" from the extensions manual. 1996-12-13 02:57:25 +00:00
Guido van Rossum d16ddb610a Typos reported by Tamito Kajiyama. 1996-12-13 02:38:17 +00:00
Barry Warsaw f630f6b93d Renamed, and scrutinized for missed potential error conditions.
Alas, I don't have an Indigo, so I could not even compile this.
1996-12-13 01:24:29 +00:00
Barry Warsaw e3c0170ba0 Output file for module struct test 1996-12-13 00:25:52 +00:00
Guido van Rossum 27eb14d894 Added support for 4-channel on SGI.
Allow specifying the test file on the command line.
1996-12-13 00:19:56 +00:00
Guido van Rossum 25bcdb0e56 Added QUADRO. 1996-12-13 00:19:15 +00:00
Barry Warsaw 8496d39478 Renamed, however there is no test case. I did test some of the module
out manually, and it does compile, but I'm not sure how to write a
useful portable test case.  Maybe later...
1996-12-13 00:11:04 +00:00
Guido van Rossum 0caa7ec206 Fixed conversion between seconds and milliseconds. 1996-12-12 23:42:20 +00:00
Barry Warsaw 07a0eeceaa A test of the struct module 1996-12-12 23:34:06 +00:00
Barry Warsaw 30695fa3cd Renamed. 1996-12-12 23:32:31 +00:00
Barry Warsaw eb14d61e28 (python-cc-style): typo "c-offset-alist" => "c-offsets-alist" 1996-12-12 22:57:05 +00:00
Barry Warsaw c2feec3378 Renamed, but *not* tested or compiled. I don't even have the STDWIN
library.
1996-12-12 22:48:20 +00:00
Barry Warsaw cb17a465eb Print final report, either all tests OK, or list of failed and missing
tests.
1996-12-12 22:34:26 +00:00
Barry Warsaw 1c92eba2dd Print a more meaningful message when a test's output file wasn't
found.
1996-12-12 22:21:10 +00:00
Barry Warsaw c1cb360683 Reworked to eliminate all potential memory problems, including
deletion of object from list argument during callout to fileno().
1996-12-12 22:16:21 +00:00
Guido van Rossum 32616fbee6 Make sure ok_builtin_modules, ok_dynamic_modules and
builtin_module_names are always tuples.
1996-12-12 21:31:52 +00:00
Guido van Rossum 15d1079dd2 Fixed test_strftime to be silent when called from autotest. 1996-12-12 19:07:19 +00:00
Guido van Rossum 483705c5a9 Added test_strftime (Skip Montanaro). 1996-12-12 19:03:11 +00:00
Guido van Rossum 6cdd7a0433 Add mktime_tz() which turns a date_tz 10-tuple into a standard Unix timestamp. 1996-12-12 18:39:54 +00:00
Guido van Rossum 21be147094 Added remark about time() and sleep()'s subsecond precision.
Added hint about using clock() for benchmarks etc.
Removed non-portable strftime directives and field width, and added a
warning about non-standard features.
1996-12-12 17:59:37 +00:00
Guido van Rossum 3486f27428 Added soundex (sigh) 1996-12-12 17:02:21 +00:00
Guido van Rossum c0967cd4a2 Added a bunch of new winfo options; we should now be up to date with
Tk 4.2.  The new winfo options supported are: mananger, pointerx,
pointerxy, pointery, server, viewable, visualid, visualsavailable.

Also fixed bugs in winfo_colormapfull() and winfo_containing().
1996-12-12 16:43:05 +00:00
Barry Warsaw e4ac0aa618 Several changes... Guido *please* take a look!
1. Renamed

2. Several coding styles were being used here, owing to the multiple
   contributors.  I tried to convert everything to standard "python"
   coding style for indentation, paren and brace placement, etc.

3. There were several potential error conditions that were never being
   checked, and where I saw them, I added checks of return values,
   etc.  I'm pretty sure I got them all.

4. There were some old-style (pre PyArg_ParseTuple) argument
   extraction and these were converted to use PyArg_ParseTuple.

All changes compile and run with the new test_select.py module, at
least on my Solaris/Sparc box.
1996-12-12 00:04:35 +00:00
Barry Warsaw 792c94a320 A test of the select module that is actually reproduceable! 1996-12-11 23:58:46 +00:00
Guido van Rossum 3176bb1df2 Some more tuning of quicksort: use pointers instead of indexing. 1996-12-11 23:57:39 +00:00
Barry Warsaw 042a207061 Output of rgbimg module test 1996-12-11 21:42:38 +00:00
Barry Warsaw 8bc74ceb8b Added test of rgbimg module 1996-12-11 21:41:42 +00:00
Barry Warsaw 66e7f3ac43 minor formatting nit 1996-12-11 21:40:04 +00:00
Barry Warsaw 7bd9fbdea2 Grandly renamed.
Note that since I have no idea how to test this, I didn't write a test
case.  It does seem to at least compile on my system though.
1996-12-11 21:33:16 +00:00
Guido van Rossum dbfed710a1 Be more careful with the shuffling of stdout. 1996-12-11 16:54:54 +00:00
Barry Warsaw 50c5cf132a Renamed. 1996-12-11 16:54:40 +00:00
Barry Warsaw d96dfb72ea Output of the nis and pwd module tests 1996-12-11 16:54:15 +00:00
Barry Warsaw 3d070fb391 Test of the pwd module 1996-12-11 16:53:51 +00:00
Barry Warsaw ebfa2c4417 Added test_pwd 1996-12-11 16:52:56 +00:00
Guido van Rossum 2b6c2faa64 Rewrite without using try-except to break out of two loops. 1996-12-11 16:28:30 +00:00
Barry Warsaw 870d5c67ae Just test one key/value pair for one NIS map. I.e. don't test them
all because it can take a really long time.
1996-12-11 16:07:30 +00:00
Barry Warsaw 3236b334ef test of the nis module 1996-12-11 01:01:38 +00:00
Barry Warsaw 7822681992 added test_nis 1996-12-11 01:01:09 +00:00
Barry Warsaw 1abda0fb12 cat and puste errors 1996-12-11 01:00:46 +00:00