speccpu: --outputdir → --output_root
This commit is contained in:
@@ -114,7 +114,7 @@ class SPEC:
|
|||||||
workload,
|
workload,
|
||||||
"-c",
|
"-c",
|
||||||
config,
|
config,
|
||||||
*(["--outputdir", str(output_root)] if output_root else []),
|
*(["--output_root", str(output_root)] if output_root else []),
|
||||||
*benchmarks,
|
*benchmarks,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ class TestSPEC:
|
|||||||
spec = SPEC(Path("/path/to/spec"))
|
spec = SPEC(Path("/path/to/spec"))
|
||||||
output_dir = Path("/output/dir")
|
output_dir = Path("/output/dir")
|
||||||
cmd = spec.mkcmd_runcpu("myconfig", ["benchmark1"], output_root=output_dir)
|
cmd = spec.mkcmd_runcpu("myconfig", ["benchmark1"], output_root=output_dir)
|
||||||
assert "--outputdir" in cmd
|
assert "--output_root" in cmd
|
||||||
assert str(output_dir) in cmd
|
assert str(output_dir) in cmd
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user