aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2024-10-14 18:04:25 +0900
committerMITSUNARI Shigeo <[email protected]>2024-10-14 18:04:25 +0900
commit8b0a1acf0e6a2d066086de001637ff4426b50e77 (patch)
treec66c1a76cfd53b8b0365b91950a10422b2ff5546
parent64140448b45e21cbda6360834ec33c3020e93fb2 (diff)
downloadxbyak-8b0a1acf0e6a2d066086de001637ff4426b50e77.tar.gz
xbyak-8b0a1acf0e6a2d066086de001637ff4426b50e77.zip
make fails if test_by_xed.sh fails
-rw-r--r--test/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index d5613e4..8313a6c 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -62,7 +62,10 @@ avx10_test: avx10_test.cpp $(XBYAK_INC)
TEST_FILES=old.txt new-ymm.txt bf16.txt comp.txt convert.txt minmax.txt saturation.txt
xed_test:
- @for target in $(addprefix avx10/, $(TEST_FILES)); do ./test_by_xed.sh $$target; done
+ @set -e; \
+ for target in $(addprefix avx10/, $(TEST_FILES)); do \
+ ./test_by_xed.sh $$target || exit 1; \
+ done
test_nm: normalize_prefix $(TARGET)
$(MAKE) -C ../gen