fmt: ensure test exits on fail

shebang not honoured when directly called with "bash run-test.sh".
This commit is contained in:
Charlotte 2023-06-28 11:50:45 +10:00 committed by Marcelina Kościelnicka
parent c285880684
commit 1eff84cb92
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash -ex #!/bin/bash
set -ex
../../yosys initial_display.v | awk '/<<<BEGIN>>>/,/<<<END>>>/ {print $0}' >yosys-initial_display.log ../../yosys initial_display.v | awk '/<<<BEGIN>>>/,/<<<END>>>/ {print $0}' >yosys-initial_display.log
iverilog -o iverilog-initial_display initial_display.v iverilog -o iverilog-initial_display initial_display.v