Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frama-c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
pub
frama-c
Commits
04fe5b44
Commit
04fe5b44
authored
Nov 24, 2020
by
Allan Blanchard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'stable/titanium'
parents
4f6dff77
70760544
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
17 deletions
+10
-17
opam/opam
opam/opam
+5
-1
tests/fc_script/main.c
tests/fc_script/main.c
+0
-1
tests/fc_script/oracle/flamegraph.err
tests/fc_script/oracle/flamegraph.err
+0
-0
tests/fc_script/oracle/flamegraph.html
tests/fc_script/oracle/flamegraph.html
+0
-10
tests/fc_script/oracle/flamegraph.res
tests/fc_script/oracle/flamegraph.res
+0
-0
tests/misc/pragma-pack.c
tests/misc/pragma-pack.c
+1
-1
tests/syntax/cpp-command.c
tests/syntax/cpp-command.c
+1
-1
tests/syntax/oracle/cpp-command.0.res.oracle
tests/syntax/oracle/cpp-command.0.res.oracle
+1
-1
tests/syntax/oracle/cpp-command.1.res.oracle
tests/syntax/oracle/cpp-command.1.res.oracle
+1
-1
tests/syntax/oracle/cpp-command.4.res.oracle
tests/syntax/oracle/cpp-command.4.res.oracle
+1
-1
No files found.
opam/opam
View file @
04fe5b44
...
...
@@ -98,7 +98,10 @@ install: [
]
run-test: [
[make "-j%{jobs}%" "PTESTS_OPTS=-error-code" "tests"]
[make "-j%{jobs}%" "PTESTS_OPTS=-error-code" "tests"] { arch != "ppc64" }
# tests are disabled on PPC64 due to floating-point oracle differences
# (some ULPs in libc trigonometric functions) and due to the lack of
# available hardware to test them locally
]
depends: [
...
...
@@ -115,6 +118,7 @@ depends: [
"conf-graphviz" { post }
"yojson"
"why3" { >= "1.3.3" }
"conf-time" { with-test }
]
depopts: [
...
...
tests/fc_script/main.c
View file @
04fe5b44
...
...
@@ -2,7 +2,6 @@
NOFRAMAC: testing frama-c-script, not frama-c itself
EXECNOW: LOG GNUmakefile LOG make_template.res LOG make_template.err cd @PTEST_DIR@ && PTESTS_TESTING= ../../bin/frama-c-script make-template result < make_template.input > result/make_template.res 2> result/make_template.err
EXECNOW: LOG list_files.res LOG list_files.err bin/frama-c-script list-files @PTEST_DIR@/list_files.json > @PTEST_DIR@/result/list_files.res 2> @PTEST_DIR@/result/list_files.err
EXECNOW: LOG flamegraph.html LOG flamegraph.res LOG flamegraph.err NOGUI=1 bin/frama-c-script flamegraph @PTEST_DIR@/flamegraph.txt @PTEST_DIR@/result > @PTEST_DIR@/result/flamegraph.res 2> @PTEST_DIR@/result/flamegraph.err && rm -f @PTEST_DIR@/result/flamegraph.svg
EXECNOW: LOG find_fun1.res LOG find_fun1.err bin/frama-c-script find-fun main2 @PTEST_DIR@ > @PTEST_DIR@/result/find_fun1.res 2> @PTEST_DIR@/result/find_fun1.err
EXECNOW: LOG find_fun2.res LOG find_fun2.err bin/frama-c-script find-fun main3 @PTEST_DIR@ > @PTEST_DIR@/result/find_fun2.res 2> @PTEST_DIR@/result/find_fun2.err
EXECNOW: LOG find_fun3.res LOG find_fun3.err bin/frama-c-script find-fun false_positive @PTEST_DIR@ > @PTEST_DIR@/result/find_fun3.res 2> @PTEST_DIR@/result/find_fun3.err
...
...
tests/fc_script/oracle/flamegraph.err
deleted
100644 → 0
View file @
4f6dff77
tests/fc_script/oracle/flamegraph.html
deleted
100644 → 0
View file @
4f6dff77
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Eva Flamegraph
</title>
</head>
<body>
<embed
src=
"flamegraph.svg"
style=
"max-width:100%;width:1400px;min-width:1000px"
>
</body>
</html>
tests/fc_script/oracle/flamegraph.res
deleted
100644 → 0
View file @
4f6dff77
tests/misc/pragma-pack.c
View file @
04fe5b44
/*run.config
STDOPT: #"-machdep gcc_x86_64 -kernel-msg-key typing:pragma"
STDOPT: #"-
cpp-command=\"gcc -E -C -I. -m32\" -cpp-frama-c-compliant
"
STDOPT: #"-
machdep gcc_x86_32
"
STDOPT: #"-machdep msvc_x86_64"
*/
...
...
tests/syntax/cpp-command.c
View file @
04fe5b44
/* run.config*
FILTER: sed "s:/[^ ]*/
cpp
-
command
\
.[
^
]
*
\
.
i
:
TMPDIR
/
FILE
.
i
:
g
;
s
:
$
PWD
/::
"
FILTER: sed "s:/[^ ]*/
cpp
-
command
\
.[
^
]
*
\
.
i
:
TMPDIR
/
FILE
.
i
:
g
;
s
:
$
PWD
/::
;
s
:
-
m32
::
"
OPT: -no-autoload-plugins -cpp-frama-c-compliant -cpp-command "
echo
[
\$
(
basename
'
%
1
'
)
\$
(
basename
'
%
1
'
)
\$
(
basename
'
%
i
'
)
\$
(
basename
'
%
input
'
)]
[
'
%
2
' '
%
2
' '
%
o
' '
%
output
'
]
[
'
%
args
'
]
"
OPT: -no-autoload-plugins -cpp-frama-c-compliant -cpp-command "
echo
%%
1
=
\$
(
basename
'
%
1
'
)
%%
2
=
'
%
2
'
%%
args
=
'
%
args
'
"
OPT: -no-autoload-plugins -cpp-frama-c-compliant -cpp-command "
printf
\
"%s
\n\"
\"
using
\\
% has no effect : \$(basename
\"
\%input
\"
)
\"
"
...
...
tests/syntax/oracle/cpp-command.0.res.oracle
View file @
04fe5b44
[kernel] Parsing tests/syntax/cpp-command.c (with preprocessing)
[cpp-command.c cpp-command.c cpp-command.c cpp-command.c] [TMPDIR/FILE.i TMPDIR/FILE.i TMPDIR/FILE.i TMPDIR/FILE.i] [ -I./share/libc -D__FRAMAC__ -D__FC_MACHDEP_X86_32 -dD -nostdinc
-m32
]
[cpp-command.c cpp-command.c cpp-command.c cpp-command.c] [TMPDIR/FILE.i TMPDIR/FILE.i TMPDIR/FILE.i TMPDIR/FILE.i] [ -I./share/libc -D__FRAMAC__ -D__FC_MACHDEP_X86_32 -dD -nostdinc]
tests/syntax/oracle/cpp-command.1.res.oracle
View file @
04fe5b44
[kernel] Parsing tests/syntax/cpp-command.c (with preprocessing)
%1 = cpp-command.c %2 = TMPDIR/FILE.i %args = -I./share/libc -D__FRAMAC__ -D__FC_MACHDEP_X86_32 -dD -nostdinc
-m32
%1 = cpp-command.c %2 = TMPDIR/FILE.i %args = -I./share/libc -D__FRAMAC__ -D__FC_MACHDEP_X86_32 -dD -nostdinc
tests/syntax/oracle/cpp-command.4.res.oracle
View file @
04fe5b44
[kernel] Preprocessing command:
gcc -E -C -I. -I./share/libc -D__FRAMAC__ -D__FC_MACHDEP_X86_32 -dD -nostdinc
-m32
'tests/syntax/cpp-command.c' -o 'TMPDIR/FILE.i'
gcc -E -C -I. -I./share/libc -D__FRAMAC__ -D__FC_MACHDEP_X86_32 -dD -nostdinc 'tests/syntax/cpp-command.c' -o 'TMPDIR/FILE.i'
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