Skip to content

Commit

Permalink
Disable tandem on riscv-tests-v tests (#2609)
Browse files Browse the repository at this point in the history
* Disable tandem on riscv-tests-v testlist
* More relevant error message on report tandem script
Related issue: #2605
  • Loading branch information
valentinThomazic authored Nov 18, 2024
1 parent a283d3e commit e7f27c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ riscv-tests-v:
DV_SIMULATORS: "vcs-testharness,spike"
DV_TARGET: cv64a6_imafdc_sv39
DV_TESTLISTS: "../tests/testlist_riscv-tests-$DV_TARGET-v.yaml"
SPIKE_TANDEM: 1
script: source verif/regress/dv-riscv-tests.sh
after_script: *simu_after_script

Expand Down
6 changes: 4 additions & 2 deletions .gitlab-ci/scripts/report_tandem.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ def main():


def check_provided_args():
if len(sys.argv) != 2 or not os.path.exists(sys.argv[1]):
print("Usage : python report_tandem.py path/to/log/dir", file=sys.stderr)
if len(sys.argv) != 2:
sys.exit("Usage : python report_tandem.py path/to/log/dir")

if not os.path.exists(sys.argv[1]):
sys.exit("No valid log directory provided!")

if len(list(glob.iglob(sys.argv[1] + "/*.yaml"))) == 0:
Expand Down

0 comments on commit e7f27c1

Please sign in to comment.