Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
a94528a2
Commit
a94528a2
authored
Jul 28, 2008
by
Matthias Braun
Browse files
accept directories or single tests as parameter
[r20724]
parent
5e643398
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/test/makereport.sh
View file @
a94528a2
...
...
@@ -46,13 +46,25 @@ __END__
basedir
=
`
pwd
`
DIRS
=
". langshootout ack"
test
-n
"
$1
"
&&
DIRS
=
"
$1
"
if
[
-z
"
$1
"
]
;
then
DIRS
=
". langshootout ack"
else
for
f
in
"
$@
"
;
do
if
test
-d
"
$f
"
;
then
DIRS
=
"
$DIRS
$f
"
else
FILES
=
"
$FILES
$f
"
fi
done
fi
for
d
in
$DIRS
;
do
for
f
in
$d
/
*
.c
;
do
FILES
=
"
$FILES
$f
"
done
done
for
dir
in
$DIRS
;
do
curdir
=
$basedir
/
$dir
echo
"<section name=
\"
$curdir
/
\"
>"
>>
$XMLRES
for
file
in
$curdir
/
$CFILES
;
do
for
file
in
$FILES
;
do
curdir
=
"
`
dirname
$file
`
"
COMPILE_RES
=
"ok"
LINK_RES
=
"omitted"
GCC_RES
=
"ok"
...
...
@@ -121,8 +133,6 @@ for file in $curdir/$CFILES; do
<diff>
$DIFF_RES
</diff>
</result>
__END__
done
echo
"</section>"
>>
$XMLRES
done
echo
"</results>"
>>
$XMLRES
...
...
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