mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-26 11:28:51 -06:00
fix: share listing and region parsing in CLIs
verify and generate_pack read --region, comma lists and the listing modes through model.cliargs (requested_regions, comma_list, LISTING_FLAGS, refuse_beside_mode, run_listing). verify --list-emulators --list-systems printed the first listing and exited 0; it now refuses the second as generate_pack does.
This commit is contained in:
1 parent
ee66aa4e66
commit
b52c7cfafb
4 files changed
+116
-130
No files matched your search
@@ -48,6 +48,8 @@ class VerifyRefusesWhatAModeDoesNotRead(unittest.TestCase):
|
||||
(("--emulator", "handy"), "--no-game-data"),
|
||||
(("--system", "atari-lynx"), "--no-game-data"),
|
||||
(("--list-systems",), "--no-game-data"),
|
||||
# The second listing was dropped and the first printed with rc 0.
|
||||
(("--list-emulators",), "--list-systems"),
|
||||
)
|
||||
|
||||
def test_each_combination_is_refused(self):
|
||||
|
||||
Reference in new issue
Block a user