[ctypes-commit] ctypes test-cf.py,1.6,1.6.2.1
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2006-04-11 20:18:24
|
Update of /cvsroot/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12516 Modified Files: Tag: LoadLibrary_branch test-cf.py Log Message: *** empty log message *** Index: test-cf.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/test-cf.py,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -C2 -d -r1.6 -r1.6.2.1 *** test-cf.py 20 Mar 2006 09:39:40 -0000 1.6 --- test-cf.py 11 Apr 2006 20:18:21 -0000 1.6.2.1 *************** *** 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 --- 44,63 ---- 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: ! cmd = "cd $HOME/ctypes; %s setup.py %s" % (python, " ".join(sys.argv[1:])) else: ! cmd = "cd $HOME/ctypes; %s setup.py test " % python 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 |