1
0
mirror of synced 2026-04-14 09:19:24 +00:00

tests/aiger: Fix pipe hiding diff exit status

This commit is contained in:
Krystine Sherwin
2025-12-12 11:26:24 +13:00
parent 99e873efc9
commit 4da0c552dd

View File

@@ -62,5 +62,8 @@ done
# make gold with: rm gold/*; yosys --no-version -p "test_cell -aigmap -w gold/ -n 1 -s 1 all"
rm -rf gate; mkdir gate
../../yosys --no-version -p "test_cell -aigmap -w gate/ -n 1 -s 1 all"
diff --brief gold gate | tee aigmap.err
(
set -o pipefail
diff --brief gold gate | tee aigmap.err
)
rm aigmap.err