mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 06:48:52 -06:00
refactor: group scraper modules by subject
scraper/ held the platform scrapers next to three other subjects. The launcher readers move to scraper/launchers/ (their _launchers suffix dropped), the MAME and FBNeo hash scrapers and romset importers to scraper/arcade/, the DAT readers and dump catalog importers to scraper/dats/. The buildbot check is a freshness check and moves to freshness/buildbot.py. Every -m command, workflow job, schema description and page follows. The scraper discovery in scraper/__init__.py had no caller: the registry's scraper: field names the module, and the pages now say so.
This commit is contained in:
1 parent
4e01cff854
commit
e1bad01b82
130 files changed
+445
-414
No files matched your search
+2
-2
@@ -29,8 +29,8 @@ class LinesOfOffsets(unittest.TestCase):
|
||||
|
||||
class ParsersReportLines(unittest.TestCase):
|
||||
def test_mame_and_fbneo_sets_carry_their_line(self):
|
||||
from scripts.scraper.fbneo_parser import find_bios_sets
|
||||
from scripts.scraper.mame_parser import find_bios_root_sets
|
||||
from scripts.scraper.arcade.fbneo_parser import find_bios_sets
|
||||
from scripts.scraper.arcade.mame_parser import find_bios_root_sets
|
||||
|
||||
mame = "\n\nGAME( 1990, neogeo, 0, ng, ng, ng_state, init, ROT0, \"SNK\", \"Neo\", MACHINE_IS_BIOS_ROOT )\n"
|
||||
self.assertEqual(find_bios_root_sets(mame, "neogeo.cpp")["neogeo"]["source_line"], 3)
|
||||
|
||||
Reference in new issue
Block a user