Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
35b50156
Commit
35b50156
authored
4 years ago
by
Andre Maroneze
Browse files
Options
Downloads
Patches
Plain Diff
[tests] Stabilize fc_script oracle when Frama-C is in the path
parent
d28cc92b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
share/analysis-scripts/make_template.py
+1
-1
1 addition, 1 deletion
share/analysis-scripts/make_template.py
tests/fc_script/oracle/make_template.res
+1
-3
1 addition, 3 deletions
tests/fc_script/oracle/make_template.res
with
2 additions
and
4 deletions
share/analysis-scripts/make_template.py
+
1
−
1
View file @
35b50156
...
...
@@ -250,7 +250,7 @@ gnumakefile.write_text("".join(lines))
print
(
f
"
Template created:
{
gnumakefile
}
"
)
if
not
framac_in_path
:
if
not
"
PTESTS_TESTING
"
in
os
.
environ
and
not
framac_in_path
:
print
(
f
"
Frama-C not in path, adding path.mk to
{
dir
}
"
)
frama_c_script
=
bindir
/
"
frama-c-script
"
os
.
system
(
f
"
{
frama_c_script
}
make-path
{
dir
}
"
)
...
...
This diff is collapsed.
Click to expand it.
tests/fc_script/oracle/make_template.res
+
1
−
3
View file @
35b50156
...
...
@@ -10,8 +10,6 @@ warning: result/GNUmakefile already exists. Overwrite? [y/N] Main target name: S
warning
:
'
main'
seems
to
be
defined
multiple
times
.
Is
this
ok
?
[
Y
/
n
]
compile_commands
.
json
exists
,
add
option
-
json
-
compilation
-
database
?
[
Y
/
n
]
Add
stub
for
function
main
(
only
needed
if
it
uses
command
-
line
arguments
)
?
[
y
/
N
]
Please
define
the
architectural
model
(
machdep
)
of
the
target
machine
.
Known
machdeps
:
x86_16
x86_32
x86_64
gcc_x86_16
gcc_x86_32
gcc_x86_64
ppc_32
msvc_x86_64
Please
enter
the
machdep
[
x86_32
]
:
'
invalid_machdep'
is
not
a
standard
machdep
.
Proceed
anyway
?
[
y
/
N
]
Please
enter
the
machdep
[
x86_32
]
:
warning
:
result
/
fc_stubs
.
c
already
exists
.
Overwrite
?
[
y
/
N
]
Wrote
to
:
result
/
path
.
mk
Created
stub
for
main
function
:
result
/
fc_stubs
.
c
Please
enter
the
machdep
[
x86_32
]
:
'
invalid_machdep'
is
not
a
standard
machdep
.
Proceed
anyway
?
[
y
/
N
]
Please
enter
the
machdep
[
x86_32
]
:
warning
:
result
/
fc_stubs
.
c
already
exists
.
Overwrite
?
[
y
/
N
]
Created
stub
for
main
function
:
result
/
fc_stubs
.
c
Template
created
:
result
/
GNUmakefile
Frama
-
C
not
in
path
,
adding
path
.
mk
to
result
Running
ptests
:
cleaning
up
after
tests
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment