Skip to content

Commit 36c145b

Browse files
committed
test: Rename isa -> binary
1 parent 8babab7 commit 36c145b

3 files changed

Lines changed: 38 additions & 38 deletions

File tree

.github/workflows/ci.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -141,94 +141,94 @@ jobs:
141141
testOnly radiance.muon.SequencerTest; \
142142
testOnly radiance.muon.ScoreboardTest"
143143
144-
run-soc-isa-tests:
145-
name: Run SoC ISA tests
144+
run-soc-binary-tests:
145+
name: Run SoC binary tests
146146
runs-on: as4
147147
needs: build
148148
steps:
149-
- name: Run ISA tests on SoC config
149+
- name: Run binary tests on SoC config
150150
run: |
151151
cd "${CHIPYARD_DIR}"
152152
source env.sh
153153
source /ecad/tools/vlsi.bashrc
154154
cd generators/radiance
155-
python3 test/run_isa_tests.py -j "$(nproc)" \
156-
--json-out test/isa-test-logs/soc/results.json
157-
- name: Render ISA test report
155+
python3 test/run_binary.py -j "$(nproc)" \
156+
--json-out test/binary-test-logs/soc/results.json
157+
- name: Render binary test report
158158
if: always()
159159
run: |
160160
cd "${CHIPYARD_DIR}/generators/radiance"
161-
python3 test/render_isa_test_report.py \
162-
test/isa-test-logs/soc/results.json \
161+
python3 test/render_binary_test_report.py \
162+
test/binary-test-logs/soc/results.json \
163163
--github-step-summary
164164
165-
run-core-isa-tests:
166-
name: Run Core-standalone ISA tests
165+
run-core-binary-tests:
166+
name: Run Core-standalone binary tests
167167
runs-on: as4
168168
needs: build
169169
steps:
170-
- name: Run ISA tests on core-as-top config
170+
- name: Run binary tests on core-as-top config
171171
run: |
172172
cd "${CHIPYARD_DIR}"
173173
source env.sh
174174
source /ecad/tools/vlsi.bashrc
175175
cd generators/radiance
176-
python3 test/run_isa_tests.py -j "$(nproc)" -c core \
177-
--json-out test/isa-test-logs/core/results.json
178-
- name: Render ISA test report
176+
python3 test/run_binary_tests.py -j "$(nproc)" -c core \
177+
--json-out test/binary-test-logs/core/results.json
178+
- name: Render binary test report
179179
if: always()
180180
run: |
181181
cd "${CHIPYARD_DIR}/generators/radiance"
182-
python3 test/render_isa_test_report.py \
183-
test/isa-test-logs/core/results.json \
182+
python3 test/render_binary_test_report.py \
183+
test/binary-test-logs/core/results.json \
184184
--github-step-summary
185185
186-
run-cosim-isa-tests:
187-
name: Run Cyclotron-as-a-Tile Co-sim ISA tests
186+
run-cosim-binary-tests:
187+
name: Run Cyclotron-as-a-Tile Co-sim binary tests
188188
runs-on: as4
189189
needs: build
190190
steps:
191-
- name: Run ISA tests on backend co-sim config
191+
- name: Run binary tests on backend co-sim config
192192
run: |
193193
cd "${CHIPYARD_DIR}"
194194
source env.sh
195195
source /ecad/tools/vlsi.bashrc
196196
cd generators/radiance
197-
python3 test/run_isa_tests.py -j "$(nproc)" -c cosim \
198-
--json-out test/isa-test-logs/cosim/results.json
199-
- name: Render ISA test report
197+
python3 test/run_binary_tests.py -j "$(nproc)" -c cosim \
198+
--json-out test/binary-test-logs/cosim/results.json
199+
- name: Render binary test report
200200
if: always()
201201
run: |
202202
cd "${CHIPYARD_DIR}/generators/radiance"
203-
python3 test/render_isa_test_report.py \
204-
test/isa-test-logs/cosim/results.json \
203+
python3 test/render_binary_test_report.py \
204+
test/binary-test-logs/cosim/results.json \
205205
--github-step-summary
206206
207-
# run-backend-cosim-isa-tests:
208-
# name: Run Backend Co-sim ISA tests
207+
# run-backend-cosim-binary-tests:
208+
# name: Run Backend Co-sim binary tests
209209
# runs-on: as4
210210
# needs: build
211211
# steps:
212-
# - name: Run ISA tests on backend co-sim config
212+
# - name: Run binary tests on backend co-sim config
213213
# run: |
214214
# cd "${CHIPYARD_DIR}"
215215
# source env.sh
216216
# source /ecad/tools/vlsi.bashrc
217217
# cd generators/radiance
218-
# python3 test/run_isa_tests.py -j "$(nproc)" -c backend \
219-
# --json-out test/isa-test-logs/backend/results.json
220-
# - name: Render ISA test report
218+
# python3 test/run_binary_tests.py -j "$(nproc)" -c backend \
219+
# --json-out test/binary-test-logs/backend/results.json
220+
# - name: Render binary test report
221221
# if: always()
222222
# run: |
223223
# cd "${CHIPYARD_DIR}/generators/radiance"
224-
# python3 test/render_isa_test_report.py \
225-
# test/isa-test-logs/backend/results.json \
224+
# python3 test/render_binary_test_report.py \
225+
# test/binary-test-logs/backend/results.json \
226226
# --github-step-summary
227227

228228
clean:
229229
name: Clean
230230
runs-on: as4
231-
needs: [build, run-unit-tests, run-soc-isa-tests, run-core-isa-tests, run-cosim-isa-tests]
231+
needs: [build, run-unit-tests, run-soc-binary-tests, run-core-binary-tests, run-cosim-binary-tests]
232232
if: always()
233233
steps:
234234
- name: Cleanup workspace, chipyard and conda
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
"""Run Cyclotron ISA tests via the VCS simulator."""
2+
"""Run ELF binary tests via the VCS simulator."""
33

44
import argparse
55
import json
@@ -277,7 +277,7 @@ def iter_elfs(elf_dir):
277277

278278

279279
def sweep(config, binary, log_dir, script_dir, chipyard_dir, sim_dir, jobs):
280-
print(f"[{myname}] sweeping all ISA tests using {jobs} parallel jobs")
280+
print(f"[{myname}] sweeping all ELF tests using {jobs} parallel jobs")
281281

282282
radiance_dir = script_dir.parent
283283
cyclotron_dir = radiance_dir / "cyclotron"
@@ -364,7 +364,7 @@ def discover_chipyard(script_dir):
364364
def parse_args():
365365
parser = argparse.ArgumentParser(
366366
description=(
367-
"Run integration tests on the RTL using muon-isa-test ELF binaries.\n"
367+
"Run integration tests on the RTL using ELF binaries.\n"
368368
"ELF binaries can either be given explicitly, or searched in the filesystem to do a sweep.\n"
369369
"Requires VCS simulation binary to be built."
370370
),
@@ -374,8 +374,8 @@ def parse_args():
374374
help="ELF to run; if omitted, sweeps found ELFs on its own")
375375
parser.add_argument('-c', '--config', default='soc',
376376
help="testbench config to run; (soc|core|cosim|backend). default is 'soc'")
377-
parser.add_argument('--log-dir', default='isa-test-logs',
378-
help="directory to be created to place the logs. default is 'isa-test-logs'")
377+
parser.add_argument('--log-dir', default='binary-test-logs',
378+
help="directory to be created to place the logs. default is 'binary-test-logs'")
379379
parser.add_argument('--json-out',
380380
help="write machine-readable test results to this JSON path. "
381381
"default is <log-dir>/<config>/results.json")

0 commit comments

Comments
 (0)