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 Binary files /dev/null and b/src/regtests/chdman/input/copy_cd_cue_audio_silence_wav_20_tracks_v4/in.chd 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 Binary files /dev/null and b/src/regtests/chdman/input/copy_cd_cue_audio_silence_wav_v4/in.chd 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 Binary files /dev/null and b/src/regtests/chdman/input/copy_cd_cue_empty_v4/in.chd 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 Binary files /dev/null and b/src/regtests/chdman/input/copy_cd_nrg_empty_v4/in.chd 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 Binary files /dev/null and b/src/regtests/chdman/input/copy_cd_toc_empty_v4/in.chd 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 Binary files /dev/null and b/src/regtests/chdman/output/copy_cd_cue_audio_silence_wav_20_tracks_v4/out.chd 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 Binary files /dev/null and b/src/regtests/chdman/output/copy_cd_cue_audio_silence_wav_v4/out.chd 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 Binary files /dev/null and b/src/regtests/chdman/output/copy_cd_cue_empty_v4/out.chd 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 Binary files /dev/null and b/src/regtests/chdman/output/copy_cd_nrg_empty_v4/out.chd 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 Binary files /dev/null and b/src/regtests/chdman/output/copy_cd_toc_empty_v4/out.chd differ