Changeset 401
- Timestamp:
- Fri Jan 11 09:47:02 2008
- Files:
-
- branches/python2.5/buildtests/test14.py (modified) (diff)
- branches/python2.5/buildtests/runtests.py (modified) (diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
branches/python2.5/buildtests/test14.py
r382 r401 18 18 print "test14 - Used to fail if _xmlplus is installed" 19 19 20 import os20 import subprocess 20 20 21 21 import xml.etree.ElementTree as ET … … 26 26 import xml.etree.cElementTree as cET 27 27 28 out = os.popen("python -c 'import xml.etree.cElementTree as cET; print dir(cET)'").read().strip() 28 pyexe = open("python_exe.build").read() 29 30 out = subprocess.Popen(pyexe + ' -c "import xml.etree.cElementTree as cET; print dir(cET)"', 31 stdout=subprocess.PIPE).stdout.read().strip() 29 32 assert str(dir(cET)) == out, (str(dir(cET)), out) 30 33 -
branches/python2.5/buildtests/runtests.py
r386 r401 24 24 import os, sys, glob, string 25 25 import shutil 26 26 27 try: 27 28 here=os.path.dirname(__file__) … … 59 60 print info 60 61 print "*"*len(info) 62 build_python = open("python_exe.build", "w") 63 build_python.write(sys.executable) 64 build_python.close() 61 65 alltests = glob.glob('test*[0-9].py') 62 66 if not sources:
