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
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
122
Issues
122
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
383157bb
Commit
383157bb
authored
May 23, 2011
by
MARCHE Claude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
this time it is the right one\!
parent
f4d21bda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
examples/nightly-bench.sh
examples/nightly-bench.sh
+6
-2
src/ide/replay.ml
src/ide/replay.ml
+4
-1
No files found.
examples/nightly-bench.sh
View file @
383157bb
...
...
@@ -58,15 +58,19 @@ examples/regtests.sh &> $OUT
if
test
"
$?
"
!=
"0"
;
then
cp
$OUT
$REPORTDIR
/regtests-
$DATE
echo
"Proof replay failed"
>>
$REPORT
diff
-u
$PREVIOUS
$OUT
>
>
$DIFF
diff
-u
$PREVIOUS
$OUT
&
>
$DIFF
if
test
"
$?
"
==
0
;
then
echo
"---------- No difference with last bench ---------- "
>>
$REPORT
echo
""
>>
$REPORT
echo
"-------------- Full current state --------------"
>>
$REPORT
echo
""
>>
$REPORT
cat
$OUT
>>
$REPORT
else
echo
""
>>
$REPORT
echo
"--------------- Diff with last bench --------------"
>>
$REPORT
echo
""
>>
$REPORT
cp
$OUT
$PREVIOUS
sed
'1,2d'
$DIFF
>>
$REPORT
cp
$OUT
$PREVIOUS
echo
""
>>
$REPORT
echo
"-------------- Full current state --------------"
>>
$REPORT
echo
""
>>
$REPORT
...
...
src/ide/replay.ml
View file @
383157bb
...
...
@@ -197,8 +197,11 @@ let print_result fmt res =
let
print_result
fmt
{
Call_provers
.
pr_answer
=
ans
;
Call_provers
.
pr_output
=
out
;
Call_provers
.
pr_time
=
t
}
=
Call_provers
.
pr_time
=_
t
}
=
(*
fprintf fmt "%a (%.1fs)" Call_provers.print_prover_answer ans t;
*)
fprintf
fmt
"%a"
Call_provers
.
print_prover_answer
ans
;
if
ans
==
Call_provers
.
HighFailure
then
fprintf
fmt
"@
\n
Prover output:@
\n
%s@."
out
...
...
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