Commit 25732641 authored by Michael Hanus 's avatar Michael Hanus

Test call updated

parent b016af7a
......@@ -5,6 +5,9 @@
TOOL = $(BINDIR)/cypm
CURRYTOOL = $(BINDIR)/$(CURRYSYSTEM)-$(notdir $(TOOL))
# Executable of CurryCheck:
CURRYCHECK := $(shell which curry-check)
# The default options for the REPL (options "rts -T" required for KiCS2
# in order to get elapsed times):
ifeq ($(CURRYSYSTEM),kics2)
......@@ -57,7 +60,10 @@ runtest:
for i in `ls vendor`; do \
export CURRYPATH="$$CURRYPATH:`pwd`/vendor/$$i/src"; \
done; \
cd src; $(REPL) check CPM.Package CPM.Resolution CPM.LookupSet
if [ ! -x "$(CURRYCHECK)" ] ; then \
echo "Executable 'curry-check' is not installed!" && echo "To run the tests, install it by > cypm install currycheck" ; \
else \
cd src && $(CURRYCHECK) CPM.Package CPM.Resolution CPM.LookupSet ; fi
.PHONY: doc
doc:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment