Skip to content
GitLab
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
6a2cfc43
Commit
6a2cfc43
authored
Aug 29, 2008
by
Alexandre Duret-Lutz
Browse files
Fix and simplify the generation of the gspn-ssp Makefile
parent
e6904d0a
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
6a2cfc43
2008-08-29 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* bench/gspn-ssp/tools/modelgen-create: Remove and fold into ...
* bench/gspn-ssp/tools/bench-create: ... this.
* bench/gspn-ssp/Makefile.am: Update.
* bench/gspn-ssp/bench.mk: Regen.
2008-08-29 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* bench/gspn-ssp/tools/defs.in (TMPDIR): New variable.
...
...
bench/gspn-ssp/Makefile.am
View file @
6a2cfc43
...
...
@@ -35,11 +35,11 @@ run_bench = tools/runbench
dist_noinst_SCRIPTS
=
\
tools/bench-create
\
tools/modelgen-create
\
tools/trans2prop.pl
\
tools/sum
\
$(run_bench)
$(RESULTS)
:
defs
nodist_check_DATA
=
$(RESULTS)
clean-local
:
...
...
bench/gspn-ssp/bench.mk
View file @
6a2cfc43
This diff is collapsed.
Click to expand it.
bench/gspn-ssp/tools/bench-create
View file @
6a2cfc43
#!/bin/sh
if
test
!
-d
model
s
;
then
echo
"Error: this script should be run from the parent of the
model
s/ directory."
2>&1
if
test
!
-d
template
s
;
then
echo
"Error: this script should be run from the parent of the
template
s/ directory."
2>&1
exit
1
fi
rm
-f
modelgen.mk
templates/gen
>
modelgen.mk
chmod
-w
modelgen.mk
out
=
bench.mk
rm
-f
$out
exec
>
$out
...
...
@@ -16,8 +20,7 @@ F=50
allres
=
cd
models
for
i
in
*
;
do
for
i
in
`
grep
/stamp: modelgen.mk |
sed
's,^models/\(.*\)/stamp:.*,\1,'
`
;
do
Ffile
=
models/
$i
/formulae
echo
"##############################
$i
##############################"
...
...
@@ -27,7 +30,6 @@ for i in *; do
echo
"
\$
(top_builddir)/src/ltltest/randltl -F
$F
-u -s 0 -f 10 -r 7
\`
cat models/
$i
/
$i
.ap
\`
>
\$
@"
echo
cd
$i
for
ltl2tgba
in
-f
;
do
case
$i
in
*
.rg
)
checks
=
e2
;;
...
...
@@ -53,10 +55,8 @@ for i in *; do
echo
done
done
cd
..
done
echo
"RESULTS =
$allres
"
cd
..
chmod
-w
$out
bench/gspn-ssp/tools/modelgen-create
deleted
100755 → 0
View file @
e6904d0a
#!/bin/sh
if
test
!
-d
template
;
then
echo
"Error: this script should be run from the parent of the template/ directory."
2>&1
exit
1
fi
rm
-f
modelgen.mk
templates/gen
>
modelgen.mk
chmod
-w
modelgen.mk
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment