Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fredrik Wieczerkowski
curry-tools
Commits
25732641
Commit
25732641
authored
Aug 31, 2020
by
Michael Hanus
Browse files
Test call updated
parent
b016af7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cpm/Makefile
View file @
25732641
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment