3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-13 05:35:28 +00:00

Correctly handle errors

This commit is contained in:
Miodrag Milanovic 2026-03-18 08:46:34 +01:00
parent 2a8d369be3
commit 5a06a79c0c

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; \