mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-21 09:07:50 -06:00
chore: merge origin/main
This commit is contained in:
commit
84cffe3f8d
270 files changed
+2107
-70
No files matched your search
@@ -9,6 +9,8 @@ corrected it later, every other reader of the resolution did not.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import shutil
|
||||
|
||||
@@ -12,6 +12,8 @@ BIOS root of platforms that do not run that emulator.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -8,6 +8,8 @@ libretro core, while verify set the entry aside. Reads the repository.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ was not where it looks.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -7,6 +7,8 @@ the slot missing and the manifest omitted it.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import re
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -8,6 +8,8 @@ the firmware of cores its image never had.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import io
|
||||
import json
|
||||
import tempfile
|
||||
|
||||
@@ -7,6 +7,8 @@ seven of the eight members Batocera checks were missing.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import shutil
|
||||
|
||||
@@ -9,6 +9,8 @@ those members were never read there, and the archive matched no recipe.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -7,6 +7,8 @@ ZIPs, which surfaces as BadZipFile far from its cause.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
@@ -8,6 +8,8 @@ path in bios/: a scan running beside the copy hashed the truncated file.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import ast
|
||||
import contextlib
|
||||
import hashlib
|
||||
@@ -136,6 +138,41 @@ class ReadmeRegressions(unittest.TestCase):
|
||||
self.assertNotIn("SyntaxError", proc.stderr)
|
||||
self.assertIn("generate_pack.py needs Python 3.9", proc.stderr)
|
||||
|
||||
def test_every_script_names_the_floor_under_an_older_interpreter(self):
|
||||
"""Only generate_pack.py and pipeline.py checked the version. verify.py,
|
||||
slots.py, validate_pr.py and cross_reference.py started under 3.8 and
|
||||
stopped halfway on a str.removeprefix AttributeError."""
|
||||
import shutil # noqa: PLC0415
|
||||
|
||||
python38 = shutil.which("python3.8")
|
||||
if python38 is None:
|
||||
if os.environ.get("CI"):
|
||||
self.fail("CI must provide python3.8")
|
||||
self.skipTest("no python3.8 on PATH")
|
||||
commands = (
|
||||
["verify.py", "--emulator", "handy"],
|
||||
["verify.py", "--platform", "batocera"],
|
||||
["validate_pr.py", "--json", "README.md"],
|
||||
["cross_reference.py", "--emulator", "handy"],
|
||||
["slots.py"],
|
||||
["identity.py"],
|
||||
["generate_site.py", "--help"],
|
||||
["campaign.py", "--help"],
|
||||
["region_check.py", "--help"],
|
||||
)
|
||||
for command in commands:
|
||||
with self.subTest(command=" ".join(command)):
|
||||
# -E -s rather than -I: -I drops the script's folder from
|
||||
# sys.path, so the imports would fail before any check.
|
||||
proc = subprocess.run(
|
||||
[python38, "-E", "-s", f"scripts/{command[0]}", *command[1:]],
|
||||
cwd=ROOT, capture_output=True, text=True, timeout=60,
|
||||
check=False,
|
||||
)
|
||||
self.assertEqual(proc.returncode, 1, proc.stderr)
|
||||
self.assertNotIn("Traceback", proc.stderr)
|
||||
self.assertIn(f"{command[0]} needs Python 3.9", proc.stderr)
|
||||
|
||||
def test_the_floor_interpreter_imports_every_script(self):
|
||||
"""Every module under scripts/ is loaded by a real interpreter of the
|
||||
floor version, as the installer's 3.8 floor is proven by running it.
|
||||
@@ -218,6 +255,46 @@ class AModuleRunAloneHasItsScratchDirectory(unittest.TestCase):
|
||||
self.assertEqual(proc.stdout.split(), [scratch, scratch])
|
||||
|
||||
|
||||
class EveryTestModuleImportsTheIsolation(unittest.TestCase):
|
||||
"""tests/__init__.py keeps a run offline, its scratch under tmp/ and its
|
||||
installer cache its own, but only `discover -s tests -t .` imported it:
|
||||
`discover tests` ran with RETROBIOS_OFFLINE unset, scratch in /tmp and
|
||||
the user's real cache. Each module now imports the package first."""
|
||||
|
||||
def test_the_package_import_comes_before_any_other(self):
|
||||
missing = []
|
||||
for path in sorted((ROOT / "tests").glob("test_*.py")):
|
||||
body = ast.parse(path.read_text(encoding="utf-8")).body
|
||||
imports = [
|
||||
node for node in body
|
||||
if isinstance(node, (ast.Import, ast.ImportFrom))
|
||||
and getattr(node, "module", None) != "__future__"
|
||||
]
|
||||
first = imports[0] if imports else None
|
||||
if not (isinstance(first, ast.Import)
|
||||
and [alias.name for alias in first.names] == ["tests"]):
|
||||
missing.append(path.name)
|
||||
self.assertEqual(missing, [])
|
||||
|
||||
def test_discover_without_a_top_level_runs_isolated(self):
|
||||
env = {k: v for k, v in os.environ.items()
|
||||
if k not in ("RETROBIOS_OFFLINE", "TMPDIR", "RETROBIOS_CACHE")}
|
||||
proc = subprocess.run(
|
||||
[sys.executable, "-c",
|
||||
"import os, sys, tempfile, unittest\n"
|
||||
"unittest.TestLoader().discover('tests', pattern='test_artifact_lock.py')\n"
|
||||
"print(os.environ.get('RETROBIOS_OFFLINE'), tempfile.gettempdir(),"
|
||||
" os.environ.get('RETROBIOS_CACHE'))\n"],
|
||||
cwd=ROOT, env=env, capture_output=True, text=True, timeout=120,
|
||||
check=False,
|
||||
)
|
||||
self.assertEqual(proc.returncode, 0, proc.stderr)
|
||||
offline, scratch, cache = proc.stdout.split()
|
||||
self.assertEqual(offline, "1")
|
||||
self.assertEqual(scratch, str(ROOT / "tmp" / "tests"))
|
||||
self.assertEqual(cache, str(ROOT / "tmp" / "tests" / "cache"))
|
||||
|
||||
|
||||
class ReleaseSigningRegressions(unittest.TestCase):
|
||||
"""A checksum list published beside its own artifacts proves nothing.
|
||||
|
||||
@@ -2859,6 +2936,50 @@ class DeclaredDependenciesMatchTheDocumentedWorkflows(unittest.TestCase):
|
||||
)
|
||||
|
||||
|
||||
class TheAnnotationsAreChecked(unittest.TestCase):
|
||||
"""Every signature carried type hints and nothing read them: six pack
|
||||
helpers declared `zipfile.ZipFile` while every caller also passed a
|
||||
PackRecord, and 990 such contradictions went through CI green. mypy now
|
||||
runs in CI against mypy-baseline.txt, the errors the code carried when the
|
||||
check started."""
|
||||
|
||||
BASELINE = ROOT / "mypy-baseline.txt"
|
||||
ENTRY = re.compile(r"(?P<path>[^:]+\.py):0: error: .+ \[[a-z-]+\]")
|
||||
|
||||
def test_ci_holds_the_code_to_the_baseline(self):
|
||||
body = (ROOT / ".github" / "workflows" / "validate.yml").read_text(
|
||||
encoding="utf-8"
|
||||
)
|
||||
self.assertIn("mypy-baseline filter", body)
|
||||
self.assertNotIn("--allow-unsynced", body)
|
||||
|
||||
def test_every_baseline_entry_names_a_file_that_exists(self):
|
||||
stale = []
|
||||
for line in self.BASELINE.read_text(encoding="utf-8").splitlines():
|
||||
match = self.ENTRY.fullmatch(line)
|
||||
self.assertIsNotNone(match, f"unreadable baseline entry: {line}")
|
||||
if not (ROOT / match["path"]).is_file():
|
||||
stale.append(match["path"])
|
||||
self.assertEqual(stale, [], "baseline entries for files that are gone")
|
||||
|
||||
def test_the_code_reports_no_error_outside_the_baseline(self):
|
||||
for module in ("mypy", "mypy_baseline"):
|
||||
try:
|
||||
__import__(module)
|
||||
except ImportError:
|
||||
self.skipTest(f"{module} is not installed (pip install -e '.[dev]')")
|
||||
report = subprocess.run(
|
||||
[sys.executable, "-m", "mypy"],
|
||||
cwd=ROOT, capture_output=True, text=True, check=False,
|
||||
)
|
||||
result = subprocess.run(
|
||||
[sys.executable, "-m", "mypy_baseline", "filter", "--no-colors"],
|
||||
cwd=ROOT, input=report.stdout, capture_output=True, text=True,
|
||||
check=False,
|
||||
)
|
||||
self.assertEqual(result.returncode, 0, result.stdout)
|
||||
|
||||
|
||||
class TheProjectInstallsWithPip(unittest.TestCase):
|
||||
"""pyproject declared a dev extra that pip could not install: without a
|
||||
[build-system] and an explicit module list, setuptools' flat-layout
|
||||
@@ -5016,9 +5137,34 @@ class VerifyAllSummaryNamesWhatIsWrong(unittest.TestCase):
|
||||
[(clean, ["RetroArch"]), (warned, ["RetroDECK"]), (core_miss, ["ROCKNIX"])]
|
||||
)
|
||||
self.assertIn("1 warning (RetroDECK 1)", summary)
|
||||
self.assertIn("ROCKNIX: n64.psh", summary)
|
||||
self.assertIn("n64.psh (ROCKNIX)", summary)
|
||||
self.assertIn("0 critical,", summary)
|
||||
|
||||
def test_a_file_missing_on_several_platforms_is_counted_once(self):
|
||||
"""sfiii2a.zip missing on 15 platforms read '24 core file(s)' for 10
|
||||
distinct files, the name printed 15 times on one line."""
|
||||
sys.path.insert(0, str(ROOT / "scripts"))
|
||||
import verify
|
||||
|
||||
def missing(*names: str) -> dict:
|
||||
return {"severity_counts": {}, "undeclared_files": [
|
||||
{"name": name, "required": True, "in_repo": False,
|
||||
"category": "bios", "in_pack": True} for name in names
|
||||
]}
|
||||
|
||||
summary = verify._overall_summary([
|
||||
(missing("sfiii2a.zip"), ["Batocera"]),
|
||||
(missing("sfiii2a.zip", "ROM"), ["RetroPie"]),
|
||||
(missing("sfiii2a.zip"), ["RomM"]),
|
||||
(missing(), ["MinUI"]),
|
||||
])
|
||||
self.assertIn(
|
||||
"2 core file(s) a core cannot run without are missing: "
|
||||
"sfiii2a.zip (every platform but MinUI); ROM (RetroPie)",
|
||||
summary,
|
||||
)
|
||||
self.assertEqual(summary.count("sfiii2a.zip"), 1)
|
||||
|
||||
|
||||
|
||||
class OneOutputFormPerRun(unittest.TestCase):
|
||||
@@ -5981,6 +6127,20 @@ class TheRepairCommandWritesTheFileNamed(unittest.TestCase):
|
||||
load_database(target)
|
||||
self.assertIn(f"--output {target}", str(caught.exception))
|
||||
|
||||
def test_a_typo_beside_the_database_names_the_database(self):
|
||||
"""--db databse.json beside database.json was told to rescan the whole
|
||||
collection into a second file named after the typo."""
|
||||
from scripts.common import DatabaseUnreadable, load_database
|
||||
|
||||
with tempfile.TemporaryDirectory(dir=TMP_ROOT) as directory:
|
||||
(Path(directory) / "database.json").write_text("{}")
|
||||
typo = Path(directory) / "databse.json"
|
||||
with self.assertRaises(DatabaseUnreadable) as caught:
|
||||
load_database(str(typo))
|
||||
message = str(caught.exception)
|
||||
self.assertIn(f"Did you mean {typo.with_name('database.json')}?", message)
|
||||
self.assertNotIn("generate_db.py", message)
|
||||
|
||||
|
||||
class VerifyPacksRefusesWhatItCannotDo(unittest.TestCase):
|
||||
"""The --verify-packs refusals lived in the --all-variants checks, which
|
||||
|
||||
@@ -7,6 +7,8 @@ a function returning canned CI runs.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import io
|
||||
import json
|
||||
|
||||
@@ -9,6 +9,8 @@ under it: amiberry, fsuae and vice were never in a target list.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -9,6 +9,8 @@ a list, and verify accepts any listed md5.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -9,6 +9,8 @@ the Batocera BIOS folder.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -7,6 +7,8 @@ Oric and Tangerine: one machine, two folders, two pages.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import subprocess
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -13,6 +13,8 @@ entry is written with the hash of the file the emulator ships.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -10,6 +10,8 @@ directory cache is not a collection.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -10,6 +10,8 @@ resume and rerun on a changed core.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import hashlib
|
||||
import io
|
||||
|
||||
@@ -7,6 +7,8 @@ went red. The flag lived in retrobat.yml and vanished at the next scrape.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import hashlib
|
||||
import io
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -8,6 +8,8 @@ report is folded, since each of those decides whether a row says STALE.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -7,6 +7,8 @@ whose checksums every user's `sha256sum --check` rejected.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -6,6 +6,8 @@ one. validate_schemas now refuses it.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import subprocess
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -7,6 +7,8 @@ does not hold the file.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import re
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -6,6 +6,8 @@ the repository, five on the site, under two different titles.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import re
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -10,6 +10,8 @@ reader now gets the tree, or the profile says its package installs it.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -8,6 +8,8 @@ frontend sees a file at the path. verify kept it MISSING, so the pack said
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import contextlib
|
||||
import io
|
||||
|
||||
@@ -7,6 +7,8 @@ probe on it: staging, the worker process, strace, the record and its schema.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import argparse
|
||||
import contextlib
|
||||
import hashlib
|
||||
|
||||
@@ -10,6 +10,8 @@ read one rule (validation.core_size_refusal).
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -9,6 +9,8 @@ tests change an input and expect a fresh computation.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ a directory called ROM).
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@@ -7,6 +7,8 @@ contributor with none of them.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import ast
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -18,6 +18,8 @@ Layouts, from Azahar src/core/hw/unique_data.cpp and src/core/file_sys/otp.cpp:
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import struct
|
||||
import sys
|
||||
|
||||
@@ -14,6 +14,8 @@ constants rather than against itself. The AES vector is from NIST SP 800-38A.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
@@ -6,6 +6,8 @@ verify only said "not cached" and refresh_data_dirs had nothing to fetch.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -7,6 +7,8 @@ TypeError on the first loop.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import ast
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -8,6 +8,8 @@ disk ROM then served the CoCo one.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -8,6 +8,8 @@ set, enriched with every spelling the database knows.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -9,6 +9,8 @@ are both load-bearing.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import io
|
||||
import os
|
||||
|
||||
@@ -7,6 +7,8 @@ is two held ROMs end to end. The gap report listed them as acquisition targets.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import shutil
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import tempfile
|
||||
|
||||
@@ -9,6 +9,8 @@ reported missing while 3 584 collected files stayed out of every pack.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import sys
|
||||
|
||||
@@ -7,6 +7,8 @@ code moves, and nothing else notices.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import ast
|
||||
import hashlib
|
||||
import inspect
|
||||
|
||||
@@ -9,6 +9,8 @@ tool prints, and a size is the one the release record holds.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import ast
|
||||
import contextlib
|
||||
import re
|
||||
|
||||
@@ -9,6 +9,8 @@ checksum of each layout and the staging location.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import functools
|
||||
import hashlib
|
||||
|
||||
@@ -17,6 +17,8 @@ Covers:
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import hashlib
|
||||
import io
|
||||
|
||||
@@ -9,6 +9,8 @@ upstream files.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -9,6 +9,8 @@ firmware of cores its image never had.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ names and ten "missing".
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
@@ -6,6 +6,8 @@ from what the cores the platform runs open, never from the entry's name.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -9,6 +9,8 @@ from a file other than the one the hash describes.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ libretro's System.dat (N88EXT0-3.ROM) as if libretro declared them.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@@ -7,6 +7,8 @@ file from and no list to check the diff against.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import re
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -14,6 +14,8 @@ and skip when it has not been populated (python scripts/export_native.py
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import difflib
|
||||
import io
|
||||
import json
|
||||
|
||||
@@ -8,6 +8,8 @@ Galaksija ROM and a PS2 ROM2.BIN.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -9,6 +9,8 @@ have vanished with it.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import tempfile
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -8,6 +8,8 @@ homonym tests/test_game_data_homonyms.py forbids the resolver to serve.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -8,6 +8,8 @@ directory, and only a manual reading found it.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@@ -7,6 +7,8 @@ attached to misterfpga by substring and checked against the full list:
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -6,6 +6,8 @@ today's upstream no longer carries, but the bytes are in the project's history.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ and put every file one directory too deep.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@ to upstream PCSX2.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -9,6 +9,8 @@ served while data/bluemsx held the 8 KB one.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import shutil
|
||||
|
||||
@@ -8,6 +8,8 @@ the pack and the manifest while verify, comparing md5, called it OK.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
@@ -12,6 +12,8 @@ carries `unsourceable:` until its own bytes are held.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import re
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -8,6 +8,8 @@ can lose its backing, then on the repository's own files.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import copy
|
||||
import json
|
||||
import sys
|
||||
|
||||
@@ -7,6 +7,8 @@ so a test pins the join and not the state of the data.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
@@ -7,6 +7,8 @@ it. RetroArch names Galaksija's 4 KiB galaksija/rom1.bin, so DOSBox's
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -10,6 +10,8 @@ the pad reaching the console, a compositor covering it) is not exercised.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import importlib.util
|
||||
import json
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import shutil
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -9,6 +9,8 @@ ROCKNIX's higan SGB1.sfc/program.rom under the file SGB1.sfc.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import shutil
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
"""Tests for install.py platform detection and config parsing."""
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import functools
|
||||
import hashlib
|
||||
|
||||
@@ -8,6 +8,8 @@ menu) is not exercised.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
|
||||
@@ -8,6 +8,8 @@ which cores keep each system, the rule a pack built for a target follows.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import io
|
||||
import json
|
||||
|
||||
@@ -7,6 +7,8 @@ honours Retry-After, and large files that resume where they stopped.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import errno
|
||||
import hashlib
|
||||
|
||||
@@ -11,6 +11,8 @@ never moved, and checked again once written.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import copy
|
||||
import errno
|
||||
|
||||
@@ -8,6 +8,8 @@ index, published by scripts/generate_games_index.py.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import functools
|
||||
import gzip
|
||||
|
||||
@@ -9,6 +9,8 @@ installs again from disk, --from-pack, every file checked by its hash.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import hashlib
|
||||
import io
|
||||
|
||||
@@ -9,6 +9,8 @@ to one answer.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import functools
|
||||
import hashlib
|
||||
|
||||
@@ -9,6 +9,8 @@ installs it).
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import argparse
|
||||
import contextlib
|
||||
import errno
|
||||
|
||||
@@ -7,6 +7,8 @@ platform outright.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import unittest
|
||||
|
||||
from scripts.scraper.targets import lakka_targets_scraper as lakka
|
||||
|
||||
@@ -8,6 +8,8 @@ that then replaced the cache entry.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
|
||||
@@ -19,6 +19,8 @@ Three checks read the committed data:
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import re
|
||||
import unittest
|
||||
from collections import defaultdict
|
||||
|
||||
@@ -8,6 +8,8 @@ and a fixed path the launcher passes (Batocera's x16emu shape).
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import inspect
|
||||
import os
|
||||
|
||||
@@ -8,6 +8,8 @@ is checked against the revision itself.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import dataclasses
|
||||
import json
|
||||
import sys
|
||||
|
||||
@@ -8,6 +8,8 @@ fixture's own lines, and a construct that is gone must stop the scrape.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import textwrap
|
||||
import unittest
|
||||
|
||||
@@ -8,6 +8,8 @@ is checked against the tag itself.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -8,6 +8,8 @@ the fixture's own lines, and a construct that is gone must stop the scrape.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import textwrap
|
||||
import unittest
|
||||
|
||||
@@ -8,6 +8,8 @@ cites. A construct that is gone or unknown must stop the scrape.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import textwrap
|
||||
import unittest
|
||||
|
||||
@@ -8,6 +8,8 @@ cites. A construct that is gone or unknown must stop the scrape.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import dataclasses
|
||||
import json
|
||||
import sys
|
||||
|
||||
@@ -9,6 +9,8 @@ configs differ, and a construct that is gone must stop the scrape.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import textwrap
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ Sys from system/dolphin-emu/Sys and keeps User in the save directory.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ duplicate system carrying the quasi88 group.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
Loaded 100 of 270 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user