Skip to content

Commit

Permalink
add some ckmamedb lines
Browse files Browse the repository at this point in the history
  • Loading branch information
0-wiz-0 committed Nov 22, 2023
1 parent e7af2cf commit 84d287f
Show file tree
Hide file tree
Showing 211 changed files with 295 additions and 6 deletions.
1 change: 1 addition & 0 deletions regress/archive-broken2.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ return 0
arguments -Fvc 1-4
file mame.db mame.db
file roms/2-48.zip CMakeLists.txt
file roms/.ckmame.db {} <empty.ckmamedb>
stdout
In game 1-4:
game 1-4 : not a single file found
Expand Down
2 changes: 2 additions & 0 deletions regress/config-delete-unknown-pattern.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ file roms/1-8.zip 2-8u-ok.zip 1-8-ok.zip
file roms/1-4.zip 1-4-garbage.zip 1-4-ok.zip
file unknown/1-4.zip garbage.zip garbage2.zip
file unknown/.ckmame.db <inline.ckmamedb>
file roms/.ckmame.db {} <empty.ckmamedb>
file unknown/.ckmame.db {} <empty.ckmamedb>
hashes 1-4.zip 04.rom cheap
end-of-inline-data
file .ckmamerc <inline>
Expand Down
3 changes: 3 additions & 0 deletions regress/config-extra-directories-append.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ file mame.db mame.db
file extra/18.zip 1-8-ok.zip
file search/14.zip 1-4-ok.zip
file roms/2-48.zip {} 2-48-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file extra/.ckmame.db {} <empty.ckmamedb>
file search/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
extra-directories = [ "extra" ]
Expand Down
2 changes: 2 additions & 0 deletions regress/config-extra-directories.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ arguments -F 1-4
file mame.db mame.db
file search/14.zip 1-4-ok.zip
file roms/1-4.zip {} 1-4-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file search/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
extra-directories = [ "search" ]
Expand Down
1 change: 1 addition & 0 deletions regress/config-home-set.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ setenv HOME ./home
arguments --set "Test" -F 1-4 1-8
file mame.db mame.db
file roms-set/1-4.zip 1-4-ok.zip
file roms-set/.ckmame.db {} <empty.ckmamedb>
file-data home/.config/ckmame/ckmamerc
[global]
rom-directory = "roms-home"
Expand Down
1 change: 1 addition & 0 deletions regress/config-home.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ setenv HOME ./home
arguments -F 1-4 1-8
file mame.db mame.db
file roms-home/1-4.zip 1-4-ok.zip
file roms-home/.ckmame.db {} <empty.ckmamedb>
file-data home/.config/ckmame/ckmamerc
[global]
rom-directory = "roms-home"
Expand Down
1 change: 1 addition & 0 deletions regress/config-keep-old-duplicate.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments -F 2-4a
file mame.db mame.db
file roms/2-4a.zip 2-4a-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
old-db = "../makedb-lost-parent-ok.db"
Expand Down
1 change: 1 addition & 0 deletions regress/config-local-overrides-home.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ setenv HOME ./home
arguments -F 1-4 1-8
file mame.db mame.db
file roms-local/1-4.zip 1-4-ok.zip
file roms-local/.ckmame.db {} <empty.ckmamedb>
file-data home/.config/ckmame/ckmamerc
[global]
rom-directory = "roms-home"
Expand Down
1 change: 1 addition & 0 deletions regress/config-local-set-overrides-home-set.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ setenv HOME ./home
arguments --set "Test" -F 1-4 1-8
file mame.db mame.db
file roms-set/1-4.zip 1-4-ok.zip
file roms-set/.ckmame.db {} <empty.ckmamedb>
file-data home/.config/ckmame/ckmamerc
[global]
rom-directory = "roms-home"
Expand Down
1 change: 1 addition & 0 deletions regress/config-local-set.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ setenv HOME ./home
arguments --set "Test" -F 1-4 1-8
file mame.db mame.db
file roms-set/1-4.zip 1-4-ok.zip
file roms-set/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
rom-directory = "roms-local"
Expand Down
3 changes: 3 additions & 0 deletions regress/config-move-from-extra-2.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ file mame.db mame.db
file search/1-4.zip 1-4-ok.zip
file extra/1-8.zip 1-8-ok.zip {}
file roms/2-48.zip {} 2-48-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file extra/.ckmame.db {} <empty.ckmamedb>
file search/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
[global.extra-directories]
Expand Down
2 changes: 2 additions & 0 deletions regress/config-move-from-extra.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ arguments -F -e search 1-4
file mame.db mame.db
file search/14.zip 1-4-ok.zip {}
file roms/1-4.zip {} 1-4-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file search/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
move-from-extra = true
Expand Down
1 change: 1 addition & 0 deletions regress/config-no-complete-games-only.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments -F 2-48
file mame.db mame.db
file roms/2-48.zip 1-4-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
complete-games-only = false
Expand Down
1 change: 1 addition & 0 deletions regress/config-no-report-correct.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments -F 1-4 1-8
file mame.db mame.db
file roms/1-4.zip 1-4-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
report-correct = false
Expand Down
1 change: 1 addition & 0 deletions regress/config-no-report-detailed.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments -F 1-4 1-8
file mame.db mame.db
file roms/1-4.zip 1-4-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
report-detailed = false
Expand Down
2 changes: 2 additions & 0 deletions regress/config-no-report-fixable.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ arguments -e extra 1-4 1-8
file mame.db mame.db
file roms/1-4.zip 1-4-ok.zip
file extra/1-8.zip 1-8-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file extra/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
report-fixable = false
Expand Down
1 change: 1 addition & 0 deletions regress/config-no-report-missing.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments 2-48 1-8
file mame.db mame.db
file roms/2-48.zip 1-4-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
report-missing = false
Expand Down
1 change: 1 addition & 0 deletions regress/config-no-report-summary.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments -D ../mamedb-merge-parent.db
file roms/grandparent.zip 1-4-ok.zip
file roms/parent.zip 1-8-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
no-hashes roms grandparent.zip
no-hashes roms parent.zip
file-data .ckmamerc
Expand Down
1 change: 1 addition & 0 deletions regress/config-old-db.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments -F 2-4a
file mame.db mame.db
file roms/2-4a.zip 2-4a-ok.zip 1-a-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
old-db = "../mamedb-lost-parent-ok.db"
Expand Down
1 change: 1 addition & 0 deletions regress/config-profile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ setenv HOME ./home
arguments --set Test -F 1-4 1-8
file mame.db mame.db
file roms-local/1-4.zip 1-4-ok.zip
file roms-local/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
report-correct = true
Expand Down
1 change: 1 addition & 0 deletions regress/config-report-correct.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments -F 1-4 1-8
file mame.db mame.db
file roms/1-4.zip 1-4-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
report-correct = true
Expand Down
1 change: 1 addition & 0 deletions regress/config-report-detailed.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments -F 1-4 1-8
file mame.db mame.db
file roms/1-4.zip 1-4-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
report-detailed = true
Expand Down
2 changes: 2 additions & 0 deletions regress/config-report-fixable.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ arguments -e extra 1-4 1-8
file mame.db mame.db
file roms/1-4.zip 1-4-ok.zip
file extra/1-8.zip 1-8-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file extra/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
report-fixable = true
Expand Down
1 change: 1 addition & 0 deletions regress/config-report-missing.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments 2-48 1-8
file mame.db mame.db
file roms/2-48.zip 1-4-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
report-missing = true
Expand Down
1 change: 1 addition & 0 deletions regress/config-report-no-good-dump.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments nogood-2
file mame.db mame.db
file roms/nogood-2.zip 1-8-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
report-no-good-dump = true
Expand Down
1 change: 1 addition & 0 deletions regress/config-report-summary.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ arguments -D ../mamedb-merge-parent.db
file mame.db mame.db
file roms/grandparent.zip 1-4-ok.zip
file roms/parent.zip 1-8-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
no-hashes roms grandparent.zip
no-hashes roms parent.zip
file-data .ckmamerc
Expand Down
1 change: 1 addition & 0 deletions regress/config-rom-directory.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments 1-4
file mame.db mame.db
file roms-local/1-4.zip 1-4-ok.zip
file roms-local/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
rom-directory = "roms-local"
Expand Down
2 changes: 2 additions & 0 deletions regress/config-saved-directory.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ arguments -F 1-4
file mame.db mame.db
file roms/1-4.zip 2-48-ok.zip 1-4-ok.zip
file extra-later/3656897d-000.zip {} 1-8-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file extra-later/.ckmame.db {} <empty.ckmamedb>
file-data .ckmamerc
[global]
saved-directory = "extra-later"
Expand Down
2 changes: 2 additions & 0 deletions regress/config-unknown-directory.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ arguments -F 1-8
file mame.db mame.db
file roms/1-8.zip 2-8u-ok.zip 1-8-ok.zip
file extra-or-removed/1-8.zip {} 1-u-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file extra-or-removed/.ckmame.db {} <empty.ckmamedb>
no-hashes extra-or-removed 1-8.zip
file-data .ckmamerc
[global]
Expand Down
2 changes: 2 additions & 0 deletions regress/config-use-central-cache-directory.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ arguments -F 1-4
file mame.db mame.db
file search/1-4.zip 1-4-ok.zip
file roms/1-4.zip {} 1-4-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file search/.ckmame.db {} <empty.ckmamedb>
touch 1419260288 search/1-4.zip
ckmamedb-after home/.cache/ckmame/@SANDBOX@/search ckmamedb-1-4-ok-with-mtime.dump
ckmamedb-after search ckmamedb-empty.dump
Expand Down
1 change: 1 addition & 0 deletions regress/delete-unknown-pattern-superfluous.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ description test single-rom game (no parent), superfluous file matches delete-un
return 0
arguments -Fvc --delete-unknown-pattern garb* -D ../mamedb-lost-parent-ok.db
file roms/unknown.zip garbage.zip {}
file roms/.ckmame.db {} <empty.ckmamedb>
stdout
In game clone-8:
game clone-8 : not a single file found
Expand Down
2 changes: 2 additions & 0 deletions regress/delete-unknown-pattern.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ file mame.db mame.db
file roms/1-4.zip 1-4-garbage.zip 1-4-ok.zip
file roms/1-8.zip 2-8c-ok.zip 1-8-ok.zip
file unknown/1-8.zip 1-c-ok.zip 2-cc-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file unknown/.ckmame.db {} <empty.ckmamedb>
no-hashes unknown 1-8.zip
stdout
In game 1-4:
Expand Down
1 change: 1 addition & 0 deletions regress/delete-used-superfluous.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ return 0
arguments -Fvc -D ../mamedb-lost-parent-ok.db
file roms/superfluous.zip 1-4-ok.zip {}
file roms/clone-8.zip 1-8-ok.zip 2-48-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
no-hashes roms clone-8.zip
stdout
In game clone-8:
Expand Down
2 changes: 2 additions & 0 deletions regress/detector-from-extra-cleanup-no-header.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ return 0
file mame-detector.db mamedb-detector.db
file roms/1-8.zip 1-8-header.zip
file extra/1-8.zip 1-8-ok.zip {}
file roms/.ckmame.db {} <empty.ckmamedb>
file extra/.ckmame.db {} <empty.ckmamedb>
no-hashes roms 1-8.zip
detector-hashes skip-some-bytes 20070429 roms 1-8.zip
detector-hashes skip-some-bytes 20070429 roms 1-8
Expand Down
2 changes: 2 additions & 0 deletions regress/detector-from-extra-cleanup.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ return 0
file mame-detector.db mamedb-detector.db
file roms/1-8.zip 1-8-header.zip
file extra/1-8-header.zip 1-8-header.zip {}
file roms/.ckmame.db {} <empty.ckmamedb>
file extra/.ckmame.db {} <empty.ckmamedb>
no-hashes roms 1-8.zip
detector-hashes skip-some-bytes 20070429 roms 1-8.zip
detector-hashes skip-some-bytes 20070429 roms 1-8
Expand Down
2 changes: 2 additions & 0 deletions regress/detector-from-extra.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ return 0
file mame-detector.db mamedb-detector.db
file extra/1-8-header.zip 1-8-header.zip {}
file roms/1-8.zip {} 1-8-header.zip
file roms/.ckmame.db {} <empty.ckmamedb>
file extra/.ckmame.db {} <empty.ckmamedb>
no-hashes roms 1-8.zip
detector-hashes skip-some-bytes 20070429 roms 1-8.zip
detector-hashes skip-some-bytes 20070429 roms 1-8
Expand Down
2 changes: 2 additions & 0 deletions regress/detector-interaction-with-headerless.test
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ arguments -D mamedb-skipped.db -Fjvc -e extra skipped
file roms/skipped.zip {} 1-8-skip-ok.zip
file extra/short.zip 1-8-skip-ok.zip {}
file extra/long.zip 1-8-ok.zip {}
file roms/.ckmame.db {} <empty.ckmamedb>
file extra/.ckmame.db {} <empty.ckmamedb>
no-hashes extra long.zip
stdout
In game skipped:
Expand Down
1 change: 1 addition & 0 deletions regress/detector-name-error.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ features LIBXML2
return 0
file mame-detector.db mamedb-detector.db
file roms/1-8.zip 1-8-header-called-04.zip 1-8-header.zip
file roms/.ckmame.db {} <empty.ckmamedb>
no-hashes roms 1-8.zip
detector-hashes skip-some-bytes 20070429 roms 1-8.zip
detector-hashes skip-some-bytes 20070429 roms 1-8
Expand Down
1 change: 1 addition & 0 deletions regress/detector-ok.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ features LIBXML2
return 0
file mame-detector.db mamedb-detector.db
file roms/1-8.zip 1-8-header.zip
file roms/.ckmame.db {} <empty.ckmamedb>
no-hashes roms 1-8.zip
detector-hashes skip-some-bytes 20070429 roms 1-8.zip
detector-hashes skip-some-bytes 20070429 roms 1-8
Expand Down
2 changes: 2 additions & 0 deletions regress/disk-from-extra-remove.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ return 0
arguments -Fvj -D ../mamedb-disk.db -e extradir
file extradir/1234.chd 108-5.chd {}
file roms/disk/108-5.chd {} 108-5.chd
file roms/.ckmame.db {} <empty.ckmamedb>
file extradir/.ckmame.db {} <empty.ckmamedb>
stdout
In game disk:
rom 08.rom size 8 crc 3656897d: missing
Expand Down
2 changes: 2 additions & 0 deletions regress/disk-from-extra-using-copy-remove.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ setenv RENAME_FAILS roms/108-5.chd
arguments -Fvj -D ../mamedb-disk.db -e extradir
file extradir/1234.chd 108-5.chd {}
file roms/disk/108-5.chd {} 108-5.chd
file roms/.ckmame.db {} <empty.ckmamedb>
file extradir/.ckmame.db {} <empty.ckmamedb>
stdout
In game disk:
rom 08.rom size 8 crc 3656897d: missing
Expand Down
2 changes: 2 additions & 0 deletions regress/disk-from-extra.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ mkdir extra
file roms/disk.zip 1-4-ok.zip
file extra/new.chd 108-5.chd
file roms/disk/108-5.chd {} 108-5.chd
file roms/.ckmame.db {} <empty.ckmamedb>
file extra/.ckmame.db {} <empty.ckmamedb>
no-hashes roms disk.zip 04.rom
stdout
In game disk:
Expand Down
1 change: 1 addition & 0 deletions regress/disk-from-superfluous-all.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ arguments -Fvc -D ../mamedb-disk.db
file roms/disk.zip 1-8-ok.zip
file roms/disk/108-5a.chd 108-5.chd {}
file roms/disk/108-5.chd {} 108-5.chd
file roms/.ckmame.db {} <empty.ckmamedb>
no-hashes roms disk.zip 04.rom
no-hashes roms disk.zip
stdout
Expand Down
1 change: 1 addition & 0 deletions regress/disk-from-superfluous.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ arguments -D ../mamedb-disk-many.db -Fvc disk
file roms/disk.zip 1-4-ok.zip
file roms/diska/108-5a.chd 108-5.chd {}
file roms/disk/108-5.chd {} 108-5.chd
file roms/.ckmame.db {} <empty.ckmamedb>
no-hashes roms disk.zip 04.rom
stdout
In game disk:
Expand Down
1 change: 1 addition & 0 deletions regress/disk-invalid.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ return 0
arguments -D ../mamedb-disk-many.db -Fvc disk
file roms/disk.zip 1-4-ok.zip
file roms/disk/108-5.chd CMakeLists.txt
file roms/.ckmame.db {} <empty.ckmamedb>
no-hashes roms disk.zip 04.rom
stdout
In game disk:
Expand Down
1 change: 1 addition & 0 deletions regress/disk-miss.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ description test single-rom game with disk, disk missing
return 0
arguments -D ../mamedb-disk-many.db -Fvc disk
file roms/disk.zip 1-4-ok.zip
file roms/.ckmame.db {} <empty.ckmamedb>
no-hashes roms disk.zip 04.rom
stdout
In game disk:
Expand Down
2 changes: 2 additions & 0 deletions regress/disk-nogood-copy.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ return 0
arguments -D ../mamedb-disk-many.db -Fvj -e extras --report-detailed disk-nogood disk-nogood2
file roms/disk-nogood.zip 1-4-ok.zip
file extras/108-nogood.chd 12-1.chd
file roms/.ckmame.db {} <empty.ckmamedb>
file extras/.ckmame.db {} <empty.ckmamedb>
no-hashes roms disk-nogood.zip 04.rom
stdout
In game disk-nogood:
Expand Down
Loading

0 comments on commit 84d287f

Please sign in to comment.