Skip to content

Commit

Permalink
[nix] run vcs simv with "-exitstataus"
Browse files Browse the repository at this point in the history
with "-exitstatus" simv will return non-zero exit code when $error/$fatal or assertion failed
  • Loading branch information
FanShupei committed Nov 9, 2024
1 parent 1e1d3a5 commit b0255af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nix/t1/run/run-vcs-emu.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ stdenvNoCC.mkDerivation (finalAttr: {
mkdir -p "$out"
emuDriverArgsArray=(
"-exitstatus"
"+t1_elf_file=${testCase}/bin/${testCase.pname}.elf"
${lib.optionalString emulator.enableTrace "+t1_wave_path=${testCase.pname}.fsdb"}
"-cm assert"
Expand Down

0 comments on commit b0255af

Please sign in to comment.