Previous 199869 Revisions Next

r20178 Thursday 10th January, 2013 at 14:27:42 UTC by Oliver Stöneberg
added "createhd" support to chdtest.py via in.params input file / added new chdman test
[src/regtests/chdman]chdtest.py
[src/regtests/chdman/input/createhd_1]in.params*
[src/regtests/chdman/output/createhd_1]out.chd*

trunk/src/regtests/chdman/chdtest.py
r20177r20178
6565         ext = d.split("_", 2)[1]
6666         inFile += "." + ext
6767         cmd = [chdmanBin, "createcd", "-f", "-i", inFile, "-o", tempFile]
68      elif d.startswith("createhd"):
69         inFile += ".params"
70         f = open(inFile, 'r')
71         paramsstr = f.read()
72         f.close()
73         params = paramsstr.split(" ")
74         cmd = [chdmanBin, "createhd", "-f", "-o", tempFile] + params
6875      else:
6976         print "unsupported mode"
7077         continue
trunk/src/regtests/chdman/input/createhd_1/in.params
r0r20178
1-chs 407,4,26 -ss 512
No newline at end of file
Property changes on: trunk/src/regtests/chdman/input/createhd_1/in.params
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native
trunk/src/regtests/chdman/output/createhd_1/out.chd
Property changes on: trunk/src/regtests/chdman/output/createhd_1/out.chd
Added: svn:mime-type
   + application/octet-stream

Previous 199869 Revisions Next


© 1997-2024 The MAME Team