@@ -90,19 +90,19 @@ def main(argv):
90
90
testapps .append ((_get_bundle_id (full_path ), full_path ))
91
91
92
92
if not testapps :
93
- logging .error ("No testapps found" )
93
+ logging .info ("No testapps found" )
94
94
return 1
95
95
96
96
logging .info ("Testapps found: %s" , "\n " .join (path for _ , path in testapps ))
97
97
98
98
gameloop_app = _unzip_gameloop (gameloop_zip )
99
99
if not gameloop_app :
100
- logging .error ("gameloop app not found" )
100
+ logging .info ("gameloop app not found" )
101
101
return 2
102
102
103
103
device_id = _boot_simulator (ios_device )
104
104
if not device_id :
105
- logging .error ("simulator created fail" )
105
+ logging .info ("simulator created fail" )
106
106
return 3
107
107
108
108
tests = []
@@ -177,7 +177,7 @@ def _get_bundle_id(app_path):
177
177
178
178
def _run_gameloop_test (bundle_id , app_path , gameloop_app , device_id ):
179
179
"""Run gameloop test and collect test result."""
180
- logging .info ("Running test: %s" , app_path )
180
+ logging .info ("Running test: %s, %s, %s, %s " , bundle_id , app_path , gameloop_app , device_id )
181
181
_install_app (app_path , device_id )
182
182
_run_xctest (gameloop_app , device_id )
183
183
logs = _get_test_log (bundle_id , app_path , device_id )
@@ -208,7 +208,7 @@ def _get_test_log(bundle_id, app_path, device_id):
208
208
capture_output = True , text = True , check = False )
209
209
210
210
if not result .stdout :
211
- logging .error ("No test Result" )
211
+ logging .info ("No test Result" )
212
212
return None
213
213
214
214
log_path = os .path .join (result .stdout .strip (), "Documents/GameLoopResults/Results1.json" )
@@ -224,7 +224,7 @@ def _run_xctest(gameloop_app, device_id):
224
224
result = subprocess .run (args = args , capture_output = True , text = True , check = False )
225
225
226
226
if not result .stdout :
227
- logging .error ("No xctest result" )
227
+ logging .info ("No xctest result" )
228
228
return None
229
229
230
230
result = result .stdout .splitlines ()
0 commit comments