| 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* |
| r20177 | r20178 | |
|---|---|---|
| 65 | 65 | ext = d.split("_", 2)[1] |
| 66 | 66 | inFile += "." + ext |
| 67 | 67 | 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 | |
| 68 | 75 | else: |
| 69 | 76 | print "unsupported mode" |
| 70 | 77 | continue |
| r0 | r20178 | |
|---|---|---|
| 1 | -chs 407,4,26 -ss 512 | |
| No newline at end of file |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| Added: svn:mime-type + application/octet-stream |
| Previous | 199869 Revisions | Next |