[ctypes-commit] ctypes test-cf.py,1.6,1.7
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2006-04-13 18:08:22
|
Update of /cvsroot/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1111 Modified Files: test-cf.py Log Message: Index: test-cf.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/test-cf.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** test-cf.py 20 Mar 2006 09:39:40 -0000 1.6 --- test-cf.py 13 Apr 2006 18:08:19 -0000 1.7 *************** *** 23,27 **** ("amd64-linux1", "/usr/bin/python -u"), ! ("amd64-linux2", "/usr/bin/python -u"), # Host key verification failed --- 23,28 ---- ("amd64-linux1", "/usr/bin/python -u"), ! # offline ! ## ("amd64-linux2", "/usr/bin/python -u"), # Host key verification failed *************** *** 29,36 **** # No route to host: ! ("ppc-osx1", "/sw/bin/python -u"), # No route to host: ! ("ppc-osx2", "/usr/bin/python -u"), # Not python 2.3 or newer, so use my own build of Python 2.4.2: --- 30,37 ---- # No route to host: ! ## ("ppc-osx1", "/sw/bin/python -u"), # No route to host: ! ## ("ppc-osx2", "/usr/bin/python -u"), # Not python 2.3 or newer, so use my own build of Python 2.4.2: *************** *** 44,55 **** import sys, os ! for hostname, python in hostinfo: print "*" * 20, hostname, "*" * 20 if len(sys.argv) > 1: ! cmd = "cd ~/ctypes; %s setup.py %s" % (python, " ".join(sys.argv[1:])) else: ! cmd = "cd ~/ctypes; %s setup.py test " % python print cmd ! ret = os.system('ssh -l theller cf-shell.sf.net "ssh %s \'%s\'"' % (hostname, cmd)) if ret: print "(RETCODE %s)" % ret --- 45,66 ---- import sys, os ! try: ! from others import others ! except ImportError: ! others = [] ! ! for hostname, python in others + hostinfo: print "*" * 20, hostname, "*" * 20 if len(sys.argv) > 1: ! args = " ".join(sys.argv[1:]) else: ! args = "test" ! ! cmd = "cd $HOME/ctypes; %s setup.py %s" % (python, args) print cmd ! if (hostname, python) in hostinfo: ! ret = os.system('ssh -l theller cf-shell.sf.net "ssh %s \'%s\'"' % (hostname, cmd)) ! else: ! ret = os.system('ssh -l theller %s \"%s\"' % (hostname, cmd)) if ret: print "(RETCODE %s)" % ret |