3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-03-23 04:49:15 +00:00

Correctly handle errors

This commit is contained in:
Miodrag Milanovic 2026-03-18 08:46:34 +01:00
parent fa92d22660
commit 77147fb0db

View file

@ -6,8 +6,9 @@ clean:
endif
define run_test
@set -e; \
rc=0; \
$(2) || rc=$$?; \
( set -e; $(2) ) || rc=$$?; \
if [ $$rc -eq 0 ]; then \
echo "PASS $1"; \
echo PASS > $1.result; \