save emulator used
This commit is contained in:
parent
d9ff145b99
commit
08b5a603ee
1 changed files with 3 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ def worker(emu: str, apklist: list[str], out_folder: Path, script: Path):
|
||||||
break
|
break
|
||||||
j += 1
|
j += 1
|
||||||
i += 1
|
i += 1
|
||||||
print(f"emulator-{console_port} started")
|
print(f"emulator-{console_port} running")
|
||||||
fp_anly_stdout.write(f"START ANALYSIS: {apk=}, emulator-{console_port}\n")
|
fp_anly_stdout.write(f"START ANALYSIS: {apk=}, emulator-{console_port}\n")
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
[ADB, "devices"],
|
[ADB, "devices"],
|
||||||
|
|
@ -314,6 +314,8 @@ def worker(emu: str, apklist: list[str], out_folder: Path, script: Path):
|
||||||
with (folder / "TIMEOUT").open("w") as fp:
|
with (folder / "TIMEOUT").open("w") as fp:
|
||||||
fp.write("Process timedout")
|
fp.write("Process timedout")
|
||||||
print(f"TIMEOUT ANALYSIS: {apk=}, emulator-{console_port}")
|
print(f"TIMEOUT ANALYSIS: {apk=}, emulator-{console_port}")
|
||||||
|
with (folder / "emu").open("w") as fp:
|
||||||
|
fp.write(f"Used emulator {emu}: emulator-{console_port}")
|
||||||
|
|
||||||
|
|
||||||
def run(apklist: list[str], out_folder: Path, script: Path):
|
def run(apklist: list[str], out_folder: Path, script: Path):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue