From 1eff84cb926c7916b6127badf2b7cec37a7a7e7f Mon Sep 17 00:00:00 2001 From: Charlotte Date: Wed, 28 Jun 2023 11:50:45 +1000 Subject: [PATCH] fmt: ensure test exits on fail shebang not honoured when directly called with "bash run-test.sh". --- tests/fmt/run-test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/fmt/run-test.sh b/tests/fmt/run-test.sh index 850dbd53e..e3e9972b1 100644 --- a/tests/fmt/run-test.sh +++ b/tests/fmt/run-test.sh @@ -1,4 +1,6 @@ -#!/bin/bash -ex +#!/bin/bash + +set -ex ../../yosys initial_display.v | awk '/<<>>/,/<<>>/ {print $0}' >yosys-initial_display.log iverilog -o iverilog-initial_display initial_display.v