mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 17:33:30 -05:00
refactor: read the asset registry with one parser
generate_pack kept a private .gitignore parser whose cache ignored the root it was asked about, and generate_db a copy of the shared one. Both now read largefiles.load_registered_paths, cached per root. Test modules whose main block preceded their last class end with it again.
This commit is contained in:
1 parent
0754d3b64f
commit
18e61fabcb
6 files changed
+57
-51
No files matched your search
@@ -93,9 +93,6 @@ class ACoreFileFillsAFreeDeclaration(unittest.TestCase):
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
|
||||
class AFileDeclaredUnderAnotherName(unittest.TestCase):
|
||||
"""The platform declares ROM1 with the md5 of the core's ROM. The
|
||||
@@ -142,3 +139,7 @@ class AFileDeclaredUnderAnotherName(unittest.TestCase):
|
||||
self.assertIn("gs/ROM", zf.namelist())
|
||||
reported = [(u["name"], u["in_repo"]) for u in result["undeclared_files"]]
|
||||
self.assertIn(("ROM", True), reported)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user