summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Allsopp <david.allsopp@metastack.com>2018-06-15 11:18:15 +0100
committerDavid Allsopp <david.allsopp@metastack.com>2018-06-15 11:18:15 +0100
commitbfdfe25ed6aa8b5213751ee7acbb40118cfbdd4e (patch)
treeca7685160f9f52f93a7ea0ef266930277e83eac2
parenta6c7dd0b9b7ecaa823e583e35328ba00e840ac60 (diff)
downloadocaml-bfdfe25ed6aa8b5213751ee7acbb40118cfbdd4e.tar.gz
Cosmetic fix to runtime-errors test Makefile
-rw-r--r--testsuite/tests/runtime-errors/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/runtime-errors/Makefile b/testsuite/tests/runtime-errors/Makefile
index b7f05895fb..04ce06958f 100644
--- a/testsuite/tests/runtime-errors/Makefile
+++ b/testsuite/tests/runtime-errors/Makefile
@@ -30,8 +30,8 @@ compile:
$(OCAMLOPT) -w a -o $$F.native$(EXE) $$f; \
fi; \
done
- $(if $(findstring win32,$(UNIX_OR_WIN32)),:, \
- @grep -q HAS_STACK_OVERFLOW_DETECTION $(TOPDIR)/byterun/caml/s.h \
+ @$(if $(findstring win32,$(UNIX_OR_WIN32)),:, \
+ grep -q HAS_STACK_OVERFLOW_DETECTION $(TOPDIR)/byterun/caml/s.h \
|| rm -f stackoverflow.native$(EXE))
# Cygwin doesn't allow the stack limit to be changed - the 4096 is