Previous 199869 Revisions Next

r23761 Tuesday 18th June, 2013 at 00:41:36 UTC by Oliver Stöneberg
chdtest.py: added support for .raw input for createhd (nw)
[src/regtests/chdman]chdtest.py

trunk/src/regtests/chdman/chdtest.py
r23760r23761
7373         inFile += "." + ext
7474         cmd = [chdmanBin, "createcd", "-f", "-i", inFile, "-o", tempFile]
7575      elif d.startswith("createhd"):
76         cmd = [chdmanBin, "createhd", "-f", "-o", tempFile]
76         ext = d.split("_", 2)[1]
77         inFile += "." + ext
78         if os.path.exists(inFile):
79            cmd = [chdmanBin, "createhd", "-f", "-i", inFile, "-o", tempFile]
80         else:
81            cmd = [chdmanBin, "createhd", "-f", "-o", tempFile]
7782      elif d.startswith("copy"):
7883         inFile += ".chd"
7984         cmd = [chdmanBin, "copy", "-f", "-i", inFile, "-o", tempFile]

Previous 199869 Revisions Next


© 1997-2024 The MAME Team