Message17347
Logged In: YES
user_id=52562
The stuff I posted when I opened this bug report was all
from running "make test". I have now discovered the
"regrtest.py" file and am experimenting with it. -s doesn't
seem to work for test_ioctl.py:
HACK pion:~/playground/python/python/dist/src$ ./python
./Lib/test/regrtest.py -v -s ./Lib/test/test_ioctl.py
./Lib/test/test_ioctl
test ./Lib/test/test_ioctl crashed -- exceptions.ValueError:
Empty module name
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 394, in runtest
the_package = __import__(abstest, globals(), locals(), [])
ValueError: Empty module name
1 test failed:
./Lib/test/test_ioctl
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 1005, in ?
main()
File "./Lib/test/regrtest.py", line 332, in main
os.unlink(filename)
OSError: [Errno 2] No such file or directory: '/tmp/pynexttest'
But running regrtest.py by itself runs a bunch of tests
including test_ioctl, apparently successfully:
HACK pion:~/playground/python/python/dist/src$ ./python
./Lib/test/regrtest.py
...
test_ioctl
...
224 tests OK.
31 tests skipped:
test_aepack test_al test_bsddb185 test_bsddb3 test_bz2
test_cd
test_cl test_curses test_dbm test_email_codecs test_gdbm
test_gl
test_imgfile test_linuxaudiodev test_locale test_macfs
test_macostools test_nis test_normalization test_ossaudiodev
test_pep277 test_plistlib test_scriptpackages
test_socket_ssl
test_socketserver test_sunaudiodev test_timeout
test_unicode_file
test_urllibnet test_winreg test_winsound
4 skips unexpected on linux2:
test_dbm test_bz2 test_gdbm test_locale
So I guess this is an "issue" in the make target rather than
in the ioctl code itself... |
|
| Date |
User |
Action |
Args |
| 2007-08-23 14:15:20 | admin | link | issue777867 messages |
| 2007-08-23 14:15:20 | admin | create | |
|