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
Spot
Spot
Commits
6bacbe1e
Commit
6bacbe1e
authored
Mar 01, 2015
by
Alexandre Duret-Lutz
Browse files
* src/ltltest/stutter.test: Run time only if present.
parent
176a7bf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ltltest/stutter.test
View file @
6bacbe1e
#! /bin/sh
# -*- coding: utf-8 -*-
# Copyright (C) 2013, 2014 Laboratoire de Recherche et
Développement
# de l'Epita (LRDE).
# Copyright (C) 2013, 2014
, 2015
Laboratoire de Recherche et
#
Développement
de l'Epita (LRDE).
#
# This file is part of Spot, a model checking library.
#
...
...
@@ -27,6 +27,12 @@ set -e
randltl
=
..
/../
bin
/
randltl
ltlfilt
=
..
/../
bin
/
ltlfilt
# Use time only if it is available
time
=
if
(
time
ls
)
>/
dev
/
null
2
>&
1
;
then
time
=
time
fi
FILE
=
formulae
rm
-
f
$FILE
for
i
in
10
12
14
16
18
20
;
do
...
...
@@ -38,7 +44,7 @@ done
for
i
in
1
2
3
4
5
6
7
8
;
do
SPOT_STUTTER_CHECK
=
$i
export
SPOT_STUTTER_CHECK
time
$ltlfilt
--
stutter
-
invariant
-
F
$FILE
>
res
.
$i
$
time
$ltlfilt
--
stutter
-
invariant
-
F
$FILE
>
res
.
$i
done
# All results should be equal
...
...
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