Soft'N'Design Software
/
projects
/
fm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50ca48a
)
enable stop-on-error during tests
author
Laurent Mazet
<mazet@softndesign.org>
Fri, 24 Jan 2025 11:24:39 +0000
(12:24 +0100)
committer
Laurent Mazet
<mazet@softndesign.org>
Fri, 24 Jan 2025 11:24:39 +0000
(12:24 +0100)
makefile
patch
|
blob
|
blame
|
history
diff --git
a/makefile
b/makefile
index 0e016a067a0315ce482cf0135f942a7b9c7ea677..14379c1e95012018be858bc093dbfb2922f804fd 100644
(file)
--- a/
makefile
+++ b/
makefile
@@
-152,6
+152,7
@@
test_%: %.test %.exe
eval $$test; \
[ $$? -eq 0 ] && echo -e "\033[1;32mSUCCESS\033[0;0m" \
|| { echo -e "\033[1;31mFAILED\033[0;0m"; RC=1; }; \
+ test "$$RC" = 1 -a "$(STOP)" = 1 && break; \
done; \
test "$$RC" -ne 1