From: Oti <oh...@gm...> - 2007-06-24 20:42:23
|
Alan, thanks very much for your effort ! Now I get: [java] 148 tests OK. [java] 54 tests skipped: [java] test_al test_asynchat test_audioop test_bsddb test_capi test_cd [java] test_cl test_cmath test_commands test_crypt test_curses test_dbm [java] test_dl test_email test_email_codecs test_fcntl test_fork1 test_gc [java] test_gdbm test_gettext test_gl test_grp test_hotshot test_imageop [java] test_imgfile test_linuxaudiodev test_locale test_longexp [java] test_mhlib test_mmap test_nis test_openpty test_parser test_poll [java] test_pty test_pwd test_pyexpat test_regex test_rgbimg test_rotor [java] test_signal test_socket_ssl test_socketserver test_strop [java] test_sunaudiodev test_sundry test_symtable test_timing test_ucn [java] test_unicode_file test_unicodedata test_wave test_winreg [java] test_winsound [java] 14 tests failed: [java] test_atexit test_cpickle test_descr test_frozen test_marshal [java] test_new test_pickle test_pkgimport test_profilehooks test_pyclbr [java] test_sre test_threaded_import test_trace test_weakref BUILD SUCCESSFUL which means we are back to the status quo. Oti. On 6/24/07, Alan Kennedy <jyt...@xh...> wrote: > [Oti] > > Regarding the TCP server: I'm always in favour of having tests green > > as much as possible, and as automated as possible. I am experimenting > > with variant 2. Basically if your check method does not return true, I > > would start a simple TCP server. I believe it would be worth the > > effort. > > OK, effort completed and checked in :-) > > I decided it was simplest to import the test_socket server management > functionality, and use that. > > So the test_select module now imports the test_socket module, and uses > the test_socket.ThreadedTCPSocketTest class to manage a dedicated TCP > server. This server is opened on the same port as is used for all the > socket tests, so there should be no clashes with port numbers > (obviously, as long as the two test modules are not run in parallel on > the same machine). > > Regards, > > Alan. > > |