summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2013-01-26 18:54:09 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2013-01-26 18:54:09 +0000
commitcd384cbe547be38428a4f5c639505cd886fabe2e (patch)
tree815067d4f52f6a3deff83eeb612977a33940b5dd
parent31ddd3a1aa4702cf83b387b597412d3261d4e4b9 (diff)
added "copy" support to chdtest.py / added some v4 to v5 copy tests
-rw-r--r--.gitattributes10
-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
12 files changed, 13 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index c53022a4d47..65bb0938f06 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -8107,6 +8107,11 @@ src/osd/windows/winutil.c svneol=native#text/plain
src/osd/windows/winutil.h svneol=native#text/plain
src/osd/windows/winwork.c svneol=native#text/plain
src/regtests/chdman/chdtest.py svneol=native#text/plain
+src/regtests/chdman/input/copy_cd_cue_audio_silence_wav_20_tracks_v4/in.chd -text
+src/regtests/chdman/input/copy_cd_cue_audio_silence_wav_v4/in.chd -text
+src/regtests/chdman/input/copy_cd_cue_empty_v4/in.chd -text
+src/regtests/chdman/input/copy_cd_nrg_empty_v4/in.chd -text
+src/regtests/chdman/input/copy_cd_toc_empty_v4/in.chd -text
src/regtests/chdman/input/createcd_cue_audio_silence_wav/in.cue svneol=native#text/plain
src/regtests/chdman/input/createcd_cue_audio_silence_wav/silence.wav -text
src/regtests/chdman/input/createcd_cue_audio_silence_wav_20_tracks/in.cue svneol=native#text/plain
@@ -8118,6 +8123,11 @@ src/regtests/chdman/input/createcd_nrg_empty/in.nrg -text
src/regtests/chdman/input/createcd_toc_empty/data.bin -text
src/regtests/chdman/input/createcd_toc_empty/in.toc svneol=native#text/plain
src/regtests/chdman/input/createhd_1/in.params svneol=native#text/plain
+src/regtests/chdman/output/copy_cd_cue_audio_silence_wav_20_tracks_v4/out.chd -text
+src/regtests/chdman/output/copy_cd_cue_audio_silence_wav_v4/out.chd -text
+src/regtests/chdman/output/copy_cd_cue_empty_v4/out.chd -text
+src/regtests/chdman/output/copy_cd_nrg_empty_v4/out.chd -text
+src/regtests/chdman/output/copy_cd_toc_empty_v4/out.chd -text
src/regtests/chdman/output/createcd_cue_audio_silence_wav/out.chd -text
src/regtests/chdman/output/createcd_cue_audio_silence_wav_20_tracks/out.chd -text
src/regtests/chdman/output/createcd_cue_empty/out.chd -text
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