[commit] r1784 - trunk/Install/Build

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Jan 6 13:17:00 CST 2012


Author: ksmyth
Date: Fri Jan  6 13:16:59 2012
New Revision: 1784

Log:
Use tools.system

Modified:
   trunk/Install/Build/build.py

Modified: trunk/Install/Build/build.py
==============================================================================
--- trunk/Install/Build/build.py	Fri Jan  6 13:16:48 2012	(r1783)
+++ trunk/Install/Build/build.py	Fri Jan  6 13:16:59 2012	(r1784)
@@ -151,8 +151,7 @@
     import glob
     for file in glob.glob(GME_ROOT + '\\GME' + ('\\x64' if prefs['arch'] == 'x64' else '') + '\\Release_PGO\\*.pgc'):
         os.remove(file)
-    import subprocess
-    subprocess.check_call([sys.executable, '-m', 'GPyUnit.__main__', '-x'] + (['-a', 'x64'] if prefs['arch'] == 'x64' else []), cwd=os.path.join(GME_ROOT, 'Tests'))
+    tools.system([sys.executable, '-m', 'GPyUnit.__main__', '-x'] + (['-a', 'x64'] if prefs['arch'] == 'x64' else []), os.path.join(GME_ROOT, 'Tests'))
 
 def compile_meta():
     "Compile MetaGME components"


More information about the gme-commit mailing list