Skip to content

Commit c058fec

Browse files
committed
Test setting xcodebuild directly.
1 parent 89bb177 commit c058fec

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/gha/test_simulator.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,13 +348,11 @@ def _run_xctest(gameloop_app, device_id):
348348
"""Run the gameloop UI Test app.
349349
This gameloop app can run integration_test app automatically.
350350
"""
351-
args = ["xcodebuild", "test-without-building",
351+
args = ["xcodebuild", "test-without-building", "USE_FIRESTORE_EMULATOR=true",
352352
"-xctestrun", gameloop_app,
353353
"-destination", "id=%s" % device_id]
354354
logging.info("Running game-loop test: %s", " ".join(args))
355-
env = os.environ.copy()
356-
env["USE_FIRESTORE_EMULATOR"] = "true"
357-
result = subprocess.run(args=args, capture_output=True, text=True, check=False, env=env)
355+
result = subprocess.run(args=args, capture_output=True, text=True, check=False)
358356

359357
if not result.stdout:
360358
logging.info("No xctest result")

0 commit comments

Comments
 (0)