test: raise failure to download emulators only in upgrade tests

This commit is contained in:
M1nd3r
2025-12-18 16:21:08 +01:00
committed by Petr Sedláček
parent 8202077e15
commit 00fb5c8053

View File

@@ -78,6 +78,10 @@ def for_all(
The test function should have arguments `gen` ("core" or "legacy") and `tag`
(version tag usable in EmulatorWrapper call)
"""
if not ALL_TAGS:
raise ValueError(
"No files found. Use download_emulators.sh to download emulators."
)
models = []
gens = set()
for item in args: