3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-12-18 18:28:35 +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
No known key found for this signature in database

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