From 8b0a1acf0e6a2d066086de001637ff4426b50e77 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Mon, 14 Oct 2024 18:04:25 +0900 Subject: make fails if test_by_xed.sh fails --- test/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3