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
Why3
why3
Commits
98500824
Commit
98500824
authored
Jun 27, 2014
by
MARCHE Claude
Browse files
nightly bench: counts also the size of shape files
parent
bf5879a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/nightly-bench.sh
View file @
98500824
...
...
@@ -98,9 +98,9 @@ cp $OUT $REPORTDIR/regtests-$DATE
echo
"Ending time (UTC): "
`
date
--utc
+%H:%M
`
>>
$REPORT
#
2
-line summary
#
3
-line summary
echo
""
>>
$REPORT
tail
-
2
$OUT
>>
$REPORT
tail
-
3
$OUT
>>
$REPORT
echo
""
>>
$REPORT
# output the diff against previous run
...
...
examples/regtests.sh
View file @
98500824
...
...
@@ -34,9 +34,11 @@ res=0
export
success
=
0
export
total
=
0
export
sessions
=
""
export
shapes
=
""
run_dir
()
{
sessions
=
"
$sessions
$1
/*/why3session.xml"
shapes
=
"
$shapes
$1
/*/why3shapes.dat"
for
f
in
`
ls
$1
/
*
/why3session.xml
`
;
do
d
=
`
dirname
$f
`
echo
-n
"Replaying
$d
... "
...
...
@@ -93,6 +95,7 @@ echo ""
echo
"Summary :
$success
/
$total
"
echo
"Sessions size : "
`
wc
-cl
$sessions
|
tail
-1
`
echo
"Shapes size : "
`
wc
-cl
$shapes
|
tail
-1
`
exit
$res
...
...
Write
Preview
Supports
Markdown
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