@@ -959,7 +959,7 @@ def verify_es5(self, filename):
959959 # ES-Check: there were no ES version matching errors!
960960 # pipe stdout and stderr so that we can choose if/when to print this
961961 # output and avoid spamming stdout when tests are successful.
962- shared .run_process (es_check + ['es5' , inputfile ], stdout = PIPE , stderr = STDOUT , env = es_check_env )
962+ utils .run_process (es_check + ['es5' , inputfile ], stdout = PIPE , stderr = STDOUT , env = es_check_env )
963963 except subprocess .CalledProcessError as e :
964964 print (e .stdout )
965965 self .fail ('es-check failed to verify ES5 output compliance' )
@@ -1296,7 +1296,7 @@ def clear(self):
12961296 utils .delete_contents (shared .EMSCRIPTEN_TEMP_DIR )
12971297
12981298 def run_process (self , cmd , check = True , ** kwargs ):
1299- # Wrapper around shared .run_process. This is desirable so that the tests
1299+ # Wrapper around utils .run_process. This is desirable so that the tests
13001300 # can fail (in the unittest sense) rather than error'ing.
13011301 # In the long run it would nice to completely remove the dependency on
13021302 # core emscripten code (shared.py) here.
@@ -1312,7 +1312,7 @@ def run_process(self, cmd, check=True, **kwargs):
13121312 kwargs ['stderr' ] = PIPE
13131313
13141314 try :
1315- rtn = shared .run_process (cmd , check = check , ** kwargs )
1315+ rtn = utils .run_process (cmd , check = check , ** kwargs )
13161316 except subprocess .CalledProcessError as e :
13171317 if check and e .returncode != 0 :
13181318 print (e .stdout )
@@ -2349,8 +2349,7 @@ def build_library(name,
23492349 with open (os .path .join (project_dir , 'configure_err' ), 'w' ) as err :
23502350 stdout = out if EMTEST_BUILD_VERBOSE < 2 else None
23512351 stderr = err if EMTEST_BUILD_VERBOSE < 1 else None
2352- shared .run_process (configure , env = env , stdout = stdout , stderr = stderr ,
2353- cwd = project_dir )
2352+ utils .run_process (configure , env = env , stdout = stdout , stderr = stderr , cwd = project_dir )
23542353 except subprocess .CalledProcessError :
23552354 print ('-- configure stdout --' )
23562355 print (read_file (Path (project_dir , 'configure_out' )))
@@ -2378,8 +2377,7 @@ def open_make_err(mode='r'):
23782377 with open_make_err ('w' ) as make_err :
23792378 stdout = make_out if EMTEST_BUILD_VERBOSE < 2 else None
23802379 stderr = make_err if EMTEST_BUILD_VERBOSE < 1 else None
2381- shared .run_process (make + make_args , stdout = stdout , stderr = stderr , env = env ,
2382- cwd = project_dir )
2380+ utils .run_process (make + make_args , stdout = stdout , stderr = stderr , env = env , cwd = project_dir )
23832381 except subprocess .CalledProcessError :
23842382 with open_make_out () as f :
23852383 print ('-- make stdout --' )
0 commit comments