Commit graph

6660 commits

Author SHA1 Message Date
Roger E. Masse
e17ec8d149 Modified to use 'rgbimg' instead of the SGI specific 'imgfile' for reading
the imagefiles and converting tham to a format suitable for imageop.  Also
added two more tests 'rgb2rgb8' and 'rgb82rgb' which remove the dependence
on the file 'greytest.rgb'.

Note: test_imgfile.py still uses 'greytest.rgb'
1997-01-15 20:07:07 +00:00
Barry Warsaw
bd8a91198d test(): close the pipe, just to shut up Purify. 1997-01-14 17:49:15 +00:00
Barry Warsaw
7a515b9156 Output for test of the timing module 1997-01-13 23:03:54 +00:00
Barry Warsaw
a6aca46fcb Test of the timing module 1997-01-13 23:03:07 +00:00
Barry Warsaw
5b456645fb Use the new regrtest harness 1997-01-13 22:54:27 +00:00
Barry Warsaw
6f332d8f35 updated the hex(-16) test since hex() of a signed literal has changed. 1997-01-13 22:36:29 +00:00
Barry Warsaw
906a5e9c68 updated the oct(-100) test since oct() of a signed literal has changed. 1997-01-13 22:36:03 +00:00
Barry Warsaw
3de721d073 Catch sunaudiodev.error on open() and re-raise TestFailed exception. 1997-01-13 20:53:46 +00:00
Barry Warsaw
59e066e73b Oops, remove debugging statements 1997-01-13 20:50:40 +00:00
Barry Warsaw
b241c42192 A slightly better test of sunaudiodev module. Include the audio data
in the distribution.
1997-01-13 20:34:44 +00:00
Barry Warsaw
dbfb8d4626 Rewrite the `hostname mismatch' test as per GvR suggestion.
Don't assume gethostbyaddr()'s primary hostname is the same as
gethostname(), or even that gethostname() can be found in the list of
hosts returned by gethostbyaddr().  We do test for at least one FQDN
in gethostbyaddr().
1997-01-13 19:35:39 +00:00
Barry Warsaw
5bc697dd31 Test of the sunaudiodev module -- it simply plays a sound if it can
find one and doesn't output any data that can be verified.  If it
can't find a sound file by looking in the standard Solaris locations
(which we can extend later), it raises an ImportError.
1997-01-07 21:05:29 +00:00
Barry Warsaw
dce1005908 Added an os._exit(0) in the parent so we don't have two test processes
after test_socket.py is run!
1997-01-07 21:02:06 +00:00
Barry Warsaw
95f92dfad4 New output file for strop test 1997-01-06 22:46:45 +00:00
Barry Warsaw
da0e520bc0 Added a couple of strop.join() tests for large lists and long items
within the lists (new output file to be checked in shortly).
1997-01-06 22:46:07 +00:00
Roger E. Masse
32e949d1f2 This is a very inobstrusive test for the existance of the SGI cd module
and all it's attributes.  More comprehensive examples can be found in
Demo/cd and require that you have a CD and a CD ROM drive
1997-01-03 23:00:13 +00:00
Roger E. Masse
5150542b8f Output file for test_cd.py 1997-01-03 22:58:43 +00:00
Guido van Rossum
9d1a02ce33 Some small changes.
Raise ImportError instead of SystemExit when $DISPLAY is not set, so
regrtest.py will do the right thing.

Add a call to gl.clear() to clear the window before drawing in it.

Add some verbose prints for completeness.

Use gl.v2i() for the coordinates of one of the lines, for a little bit
of variety.

Reduce the time the window is displayed from 5 to 2 seconds.
1997-01-03 22:42:08 +00:00
Roger E. Masse
4a9ac0612d Output file for test_al.py 1997-01-03 22:39:31 +00:00
Roger E. Masse
1f983df3bd This is a very inobstrusive test for the existance of the al module and all
it's attributes.  More comprehensive examples can be found in Demo/al
1997-01-03 22:39:03 +00:00
Barry Warsaw
61bc874b19 Output of socket module test. 1997-01-03 20:04:09 +00:00
Barry Warsaw
cf3d4b5123 Test of the socket module. The following functions and methods are
not currently tested (or even touched):

#	socket.fromfd()
# 	sktobj.getsockopt()
#	sktobj.recvfrom()
#	sktobj.sendto()
#	sktobj.setblocking()
# 	sktobj.setsockopt()
#	sktobj.shutdown()
1997-01-03 20:03:32 +00:00
Roger E. Masse
7a61f871a7 Updated to include the verbose flag from test_support 1997-01-03 19:20:17 +00:00
Guido van Rossum
04ebf5ca5d Change the ``calcsize*3'' test to be portable to 64-bit machines. 1997-01-03 19:00:37 +00:00
Barry Warsaw
461a1c172f Output for signal module test 1997-01-03 16:01:20 +00:00
Guido van Rossum
420c11c6aa Added f/d tests for specific byte orders. 1997-01-03 00:09:46 +00:00
Barry Warsaw
5afafad82d <rotorobj>.setkey() now requires exactly one argument 1997-01-02 20:02:44 +00:00
Guido van Rossum
2a37850273 Exercise the new feature set somewhat.
Use TestFailed exception and verbose flag from test_support module.
1996-12-31 17:25:47 +00:00
Roger E. Masse
cf284cc5db Test output for the gl C extension module. 1996-12-24 19:36:33 +00:00
Roger E. Masse
6da2953f1e gl is a *huge* module. This is a very simple test that insures that
all the modules attributes are present and creates a small criss-cross
window for 5 seconds (example from the documentation :-)  A more
comprehensive test would probably be useful... but maybe overkill.
1996-12-24 19:36:07 +00:00
Barry Warsaw
fb817cd4a2 Output files
test_rotor.py: New test of the rotor module.

test_*: converted to the new test harness.  GvR note!  test_signal.py
works interatively (i.e. when verbose=1) but does not work inside the
test harness.  It must be a timing issue, but I haven't figured it out
yet.
1996-12-23 23:40:11 +00:00
Barry Warsaw
5e056bbb76 test_rotor.py: New test of the rotor module.
test_*: converted to the new test harness.  GvR note!  test_signal.py
works interatively (i.e. when verbose=1) but does not work inside the
test harness.  It must be a timing issue, but I haven't figured it out
yet.
1996-12-23 23:39:42 +00:00
Roger E. Masse
f85f052035 Very very small comment change. 1996-12-20 22:39:24 +00:00
Roger E. Masse
fab8ab8067 Many scripts, but small changes. Update the way the scripts obtain the
'verbose' flag ala GvR updated test harness architecture.

Old way:

	verbose = 0
	if __name__ == '__main__':
		verbose = 1

New way:

	from test_support import verbose

Some other small readablility and functionality updates.
1996-12-20 22:36:52 +00:00
Barry Warsaw
4b722788ae added test of the regex module
[NOTE: testall.py and autotest.py might could go away soon, I've
 played with Guido's new regrtest.py script and it seems to work well.
 I'll wait until Guido gives the word to completely switch over -- and
 change the Makefile too!]
1996-12-20 22:00:21 +00:00
Roger E. Masse
4455cd8e19 More and better comments. 1996-12-20 21:52:29 +00:00
Roger E. Masse
3507f502c9 Minor semantic cleanup. 1996-12-20 21:47:58 +00:00
Roger E. Masse
e9e0bd90ae Output for test script for the SGI imgfile module. 1996-12-20 21:42:09 +00:00
Roger E. Masse
033d91b784 Test script for the SGI imgfile module. 1996-12-20 21:41:50 +00:00
Roger E. Masse
470dcbf8e3 8 bit greyscale test file needed for testing imageop and imgfile. 1996-12-20 20:50:10 +00:00
Roger E. Masse
47e98307e0 Test program for the SGI imageop module. 1996-12-20 20:49:06 +00:00
Roger E. Masse
cfaac40e31 test output for SGI imageop C module. 1996-12-20 20:47:17 +00:00
Guido van Rossum
0b25a662e0 Two new files (to shut up regrtest). 1996-12-20 03:14:42 +00:00
Guido van Rossum
4f30aff585 Added example DL for SGI IRIX. 1996-12-20 03:13:36 +00:00
Guido van Rossum
4fdb744f53 Added test for minmax. 1996-12-20 03:13:06 +00:00
Guido van Rossum
152494aea2 New regression test harness. See usage message / doc string. 1996-12-20 03:12:20 +00:00
Guido van Rossum
2bde783a97 Import verbose flag from test_support instead of testing __name__. 1996-12-20 03:03:39 +00:00
Guido van Rossum
0a94cc788e Set test_support.verbose to 0, to signal tests only to generate
portable output.
1996-12-20 03:03:01 +00:00
Guido van Rossum
531661c1ae Add verbose flag for regression test to clear. 1996-12-20 02:58:22 +00:00
Barry Warsaw
a09ec19a33 Test of the operator module 1996-12-18 19:56:22 +00:00