summaryrefslogtreecommitdiffstats
path: root/src/regtests/chdman
diff options
context:
space:
mode:
authorGravatarGravatar Oliver Stöneberg <firewave@users.noreply.github.com>2013-01-26 18:54:09 +0000
committerGravatarGravatar Oliver Stöneberg <firewave@users.noreply.github.com>2013-01-26 18:54:09 +0000
commitcd384cbe547be38428a4f5c639505cd886fabe2e (patch) (github)
tree815067d4f52f6a3deff83eeb612977a33940b5dd /src/regtests/chdman
parent31ddd3a1aa4702cf83b387b597412d3261d4e4b9 (diff)
downloadmame-cd384cbe547be38428a4f5c639505cd886fabe2e.tar.bz2
mame-cd384cbe547be38428a4f5c639505cd886fabe2e.zip
added "copy" support to chdtest.py / added some v4 to v5 copy tests
Diffstat (limited to 'src/regtests/chdman')
-rw-r--r--src/regtests/chdman/chdtest.py3
-rw-r--r--src/regtests/chdman/input/copy_cd_cue_audio_silence_wav_20_tracks_v4/in.chdbin0 -> 38412 bytes
-rw-r--r--src/regtests/chdman/input/copy_cd_cue_audio_silence_wav_v4/in.chdbin0 -> 32356 bytes
-rw-r--r--src/regtests/chdman/input/copy_cd_cue_empty_v4/in.chdbin0 -> 27956 bytes
-rw-r--r--src/regtests/chdman/input/copy_cd_nrg_empty_v4/in.chdbin0 -> 27956 bytes
-rw-r--r--src/regtests/chdman/input/copy_cd_toc_empty_v4/in.chdbin0 -> 60598 bytes
-rw-r--r--src/regtests/chdman/output/copy_cd_cue_audio_silence_wav_20_tracks_v4/out.chdbin0 -> 28848 bytes
-rw-r--r--src/regtests/chdman/output/copy_cd_cue_audio_silence_wav_v4/out.chdbin0 -> 27335 bytes
-rw-r--r--src/regtests/chdman/output/copy_cd_cue_empty_v4/out.chdbin0 -> 7326 bytes
-rw-r--r--src/regtests/chdman/output/copy_cd_nrg_empty_v4/out.chdbin0 -> 7326 bytes
-rw-r--r--src/regtests/chdman/output/copy_cd_toc_empty_v4/out.chdbin0 -> 51541 bytes
11 files changed, 3 insertions, 0 deletions
diff --git a/src/regtests/chdman/chdtest.py b/src/regtests/chdman/chdtest.py
index aca814593ae..5bd641da501 100644
--- a/src/regtests/chdman/chdtest.py
+++ b/src/regtests/chdman/chdtest.py
@@ -72,6 +72,9 @@ for root, dirs, files in os.walk(inputPath):
f.close()
params = paramsstr.split(" ")
cmd = [chdmanBin, "createhd", "-f", "-o", tempFile] + params
+ elif d.startswith("copy"):
+ inFile += ".chd"
+ cmd = [chdmanBin, "copy", "-f", "-i", inFile, "-o", tempFile]
else:
print "unsupported mode"
continue
diff --git a/src/regtests/chdman/input/copy_cd_cue_audio_silence_wav_20_tracks_v4/in.chd b/src/regtests/chdman/input/copy_cd_cue_audio_silence_wav_20_tracks_v4/in.chd
new file mode 100644
index 00000000000..9cede819041
--- /dev/null
+++ b/src/regtests/chdman/input/copy_cd_cue_audio_silence_wav_20_tracks_v4/in.chd
Binary files differ
diff --git a/src/regtests/chdman/input/copy_cd_cue_audio_silence_wav_v4/in.chd b/src/regtests/chdman/input/copy_cd_cue_audio_silence_wav_v4/in.chd
new file mode 100644
index 00000000000..73a5d7621d1
--- /dev/null
+++ b/src/regtests/chdman/input/copy_cd_cue_audio_silence_wav_v4/in.chd
Binary files differ
diff --git a/src/regtests/chdman/input/copy_cd_cue_empty_v4/in.chd b/src/regtests/chdman/input/copy_cd_cue_empty_v4/in.chd
new file mode 100644
index 00000000000..2454149c709
--- /dev/null
+++ b/src/regtests/chdman/input/copy_cd_cue_empty_v4/in.chd
Binary files differ
diff --git a/src/regtests/chdman/input/copy_cd_nrg_empty_v4/in.chd b/src/regtests/chdman/input/copy_cd_nrg_empty_v4/in.chd
new file mode 100644
index 00000000000..06e5c0cc6fb
--- /dev/null
+++ b/src/regtests/chdman/input/copy_cd_nrg_empty_v4/in.chd
Binary files differ
diff --git a/src/regtests/chdman/input/copy_cd_toc_empty_v4/in.chd b/src/regtests/chdman/input/copy_cd_toc_empty_v4/in.chd
new file mode 100644
index 00000000000..94e4b9fe6fd
--- /dev/null
+++ b/src/regtests/chdman/input/copy_cd_toc_empty_v4/in.chd
Binary files differ
diff --git a/src/regtests/chdman/output/copy_cd_cue_audio_silence_wav_20_tracks_v4/out.chd b/src/regtests/chdman/output/copy_cd_cue_audio_silence_wav_20_tracks_v4/out.chd
new file mode 100644
index 00000000000..5029267c6f4
--- /dev/null
+++ b/src/regtests/chdman/output/copy_cd_cue_audio_silence_wav_20_tracks_v4/out.chd
Binary files differ
diff --git a/src/regtests/chdman/output/copy_cd_cue_audio_silence_wav_v4/out.chd b/src/regtests/chdman/output/copy_cd_cue_audio_silence_wav_v4/out.chd
new file mode 100644
index 00000000000..bff1b64c8b9
--- /dev/null
+++ b/src/regtests/chdman/output/copy_cd_cue_audio_silence_wav_v4/out.chd
Binary files differ
diff --git a/src/regtests/chdman/output/copy_cd_cue_empty_v4/out.chd b/src/regtests/chdman/output/copy_cd_cue_empty_v4/out.chd
new file mode 100644
index 00000000000..af63abb92dd
--- /dev/null
+++ b/src/regtests/chdman/output/copy_cd_cue_empty_v4/out.chd
Binary files differ
diff --git a/src/regtests/chdman/output/copy_cd_nrg_empty_v4/out.chd b/src/regtests/chdman/output/copy_cd_nrg_empty_v4/out.chd
new file mode 100644
index 00000000000..f1dd17c8648
--- /dev/null
+++ b/src/regtests/chdman/output/copy_cd_nrg_empty_v4/out.chd
Binary files differ
diff --git a/src/regtests/chdman/output/copy_cd_toc_empty_v4/out.chd b/src/regtests/chdman/output/copy_cd_toc_empty_v4/out.chd
new file mode 100644
index 00000000000..2a4b79ca2be
--- /dev/null
+++ b/src/regtests/chdman/output/copy_cd_toc_empty_v4/out.chd
Binary files differ