Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
George Pirlea
Iris
Commits
c07c52fc
Commit
c07c52fc
authored
May 25, 2018
by
Ralf Jung
Browse files
Use mktemp instead of tempfile
mktemp seems to also be available on macOS -- though without `--suffix`.
parent
3bed085d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.coq.local
View file @
c07c52fc
...
...
@@ -10,7 +10,7 @@ test: $(TESTFILES:.v=.vo)
$(TESTFILES
:
.v=.vo): %.vo: %.v $(VFILES:.v=.vo)
$(SHOW)
COQC
[
test
]
$<
$(HIDE)TEST
=
"
$
$(
basename
-s .v
$<
)
"
&&
\
TMPFILE
=
"
$$
(temp
file -p test- -s "
-
$$
TEST
"
)"
&&
\
TMPFILE
=
"
$
$(
mk
temp)
"
&&
\
$(TIMER)
$(COQC)
$(COQDEBUG)
$(TIMING_ARG)
$(COQFLAGS)
$(COQLIBS)
$<
$(TIMING_EXTRA)
>
"
$$
TMPFILE"
&&
\
(
diff
--color
=
auto
-u
"tests/
$$
TEST.ref"
"
$$
TMPFILE"
||
(
rm
"tests/
$$
TEST.vo"
"
$$
TMPFILE"
&&
exit
1
))
&&
\
rm
"
$$
TMPFILE"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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