Tests: Favor --binary. No test change.

This commit is contained in:
Wilson Snyder 2025-12-16 08:14:25 -05:00
parent 47a4f7fb9b
commit ef3fdbdcba
3 changed files with 4 additions and 8 deletions

View File

@ -13,12 +13,10 @@ test.scenarios('vlt')
test.compile( test.compile(
verilator_flags2=[ verilator_flags2=[
"--binary",
"--prefix t_flag_prefix", # should be overridden "--prefix t_flag_prefix", # should be overridden
"--prefix Vprefix", "--prefix Vprefix",
"--exe", "--stats"
"--main",
"--stats",
"--build"
], ],
verilator_make_cmake=False, verilator_make_cmake=False,
verilator_make_gmake=False) verilator_make_gmake=False)

View File

@ -15,9 +15,8 @@ test.scenarios('vlt')
# prefix properly using post-escaped identifiers # prefix properly using post-escaped identifiers
test.run(cmd=[ test.run(cmd=[
os.environ["VERILATOR_ROOT"] + "/bin/verilator", os.environ["VERILATOR_ROOT"] + "/bin/verilator",
"--cc", "--binary",
"--Mdir " + test.obj_dir + "/t_mod_dollar", "--Mdir " + test.obj_dir + "/t_mod_dollar",
"--exe --build --main",
't/t_mod_dollar$.v', 't/t_mod_dollar$.v',
], ],
verilator_run=True) verilator_run=True)

View File

@ -15,9 +15,8 @@ test.scenarios('vlt')
# prefix properly using post-escaped identifiers # prefix properly using post-escaped identifiers
test.run(cmd=[ test.run(cmd=[
os.environ["VERILATOR_ROOT"] + "/bin/verilator", os.environ["VERILATOR_ROOT"] + "/bin/verilator",
"--cc", "--binary",
"--Mdir " + test.obj_dir + "/t_mod_dot", "--Mdir " + test.obj_dir + "/t_mod_dot",
"--exe --build --main",
't/t_mod_dot.v', 't/t_mod_dot.v',
], ],
verilator_run=True) verilator_run=True)