Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
frama-c
Commits
35cdc975
Commit
35cdc975
authored
Jul 02, 2020
by
Virgile Prevosto
Committed by
Andre Maroneze
Jul 03, 2020
Browse files
[tests] make generated test file read-only
parent
2cf7f9b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
35cdc975
...
...
@@ -2350,6 +2350,7 @@ tests/spec/preprocess_dos.c: tests/spec/preprocess_dos.c.in \
$(SED)
-e
"s|@UNIX2DOS@|
$(UNIX2DOS)
|g"
\
-e
"s|@DONTRUN@||g"
\
$<
>
$@
$(CHMOD_RO)
$@
else
tests/spec/preprocess_dos.c
:
tests/spec/preprocess_dos.c.in
\
Makefile share/Makefile.config
...
...
@@ -2357,6 +2358,7 @@ tests/spec/preprocess_dos.c: tests/spec/preprocess_dos.c.in \
$(SED)
-e
"s|@DONTRUN@|DONTRUN: no unix2dos found|g"
\
-e
"s|@UNIX2DOS|unix2dos|g"
\
$<
>
$@
$(CHMOD_RO)
$@
endif
ptests
:
bin/ptests.$(OCAMLBEST)$(EXE) $(PTESTS_CONFIG) $(GENERATED_TESTS)
...
...
tests/spec/preprocess_dos.c.in
View file @
35cdc975
/* run.config*
COMMENT: Don't edit directly preprocess_dos.c, but preprocess_dos.c.in
@DONTRUN@
OPT: -cpp-command="@PTEST_DIR@/@PTEST_NAME@.sh @UNIX2DOS@ %i %o" -cpp-frama-c-compliant -print
*/
...
...
Write
Preview
Markdown
is supported
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