Skip to content

Commit b7dd715

Browse files
committed
test: Rename "hostlaunch" -> "tethered"
1 parent c2e77e4 commit b7dd715

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
source env.sh
169169
source /ecad/tools/vlsi.bashrc
170170
cd generators/radiance
171-
python3 test/run_binary_tests.py -j "$(nproc)" -c hostlaunch \
171+
python3 test/run_binary_tests.py -j "$(nproc)" -c tethered \
172172
--timeout 3600 \
173173
--log-dir "${CHIPYARD_RUN_LOG_DIR}" \
174174
--elf-dir cyclotron/test/host-launch \

test/run_binary_tests.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def get_and_check_sim_binary(config, sim_dir):
171171
sim_binary = sim_dir / "simv-chipyard.unittest-MuonCoreTestConfig-debug"
172172
elif config == "cosim":
173173
sim_binary = sim_dir / "simv-chipyard.harness-RadianceCyclotronConfig-debug"
174-
elif config == "hostlaunch":
174+
elif config == "tethered":
175175
sim_binary = sim_dir / "simv-chipyard.harness-TetheredRadianceTapeoutConfig-debug"
176176
elif config == "backend":
177177
sim_binary = sim_dir / "simv-chipyard.unittest-MuonBackendTestConfig-debug"
@@ -403,7 +403,7 @@ def default_elf_dir(config, script_dir):
403403
cyclotron_dir = radiance_dir / "cyclotron"
404404
if config == "soc" or config == "cosim":
405405
return cyclotron_dir / "test" / "fused"
406-
if config == "hostlaunch":
406+
if config == "tethered":
407407
return cyclotron_dir / "test" / "host-launch"
408408
return cyclotron_dir / "test" / "isa-tests"
409409

@@ -506,7 +506,7 @@ def parse_args():
506506
parser.add_argument('binary', nargs="?",
507507
help="ELF to run; if omitted, sweeps found ELFs on its own")
508508
parser.add_argument('-c', '--config', default='soc',
509-
help="testbench config to run; (soc|core|cosim|backend). default is 'soc'")
509+
help="testbench config to run; (soc|core|cosim|tethered|backend). default is 'soc'")
510510
parser.add_argument('--log-dir', default='binary-test-logs',
511511
help="directory to be created to place the logs. default is 'binary-test-logs'")
512512
parser.add_argument('--json-out',
@@ -524,8 +524,8 @@ def parse_args():
524524
def main():
525525
args = parse_args()
526526
config = args.config
527-
if not (config == "soc" or config == "core" or config == "cosim" or config == "hostlaunch" or config == "backend"):
528-
print(f"error: unknown config '{config}'. must be (soc|core|cosim|hostlaunch|backend)")
527+
if not (config == "soc" or config == "core" or config == "cosim" or config == "tethered" or config == "backend"):
528+
print(f"error: unknown config '{config}'. must be (soc|core|cosim|tethered|backend)")
529529
sys.exit(1)
530530

531531
script_dir = Path(__file__).resolve().parent

0 commit comments

Comments
 (0)