Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
51fc6716
Commit
51fc6716
authored
Sep 03, 2002
by
Per Cederqvist
Browse files
Handle the --compat option. Handle compilers that flag warnings with
the string "(W)".
parent
6b80eab2
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/xenofarm.sh
View file @
51fc6716
...
...
@@ -39,10 +39,21 @@
# distribution.
compiler
=
default
if
[
$#
-gt
1
]
then
compiler
=
"
$1
"
shift
compat
=
false
while
[
$#
-gt
1
]
do
case
"
$1
"
in
--compat
)
compat
=
true
;
shift
;;
*
)
compiler
=
"
$1
"
;
shift
;;
esac
done
if
$compat
then
:
else
rm
-rf
r
mkdir
r
exec
>
r/shlog.txt 2>&1
fi
VERS
=
`
echo
lyskom-server
*
tar.gz|sed s/lyskom-server-//|sed s/.tar.gz//
`
...
...
@@ -244,7 +255,7 @@ timeecho Collecting results
# Check for warnings
if
test
-f
r/make.pass
then
grep
-i
warning r/makelog.txt
\
grep
-i
'
warning
\|(w)'
r/makelog.txt
\
|
grep
-v
regex
\\
.c
\
>
r/makewarn.txt
if
test
`
wc
-l
< r/makewarn.txt
`
-gt
0
...
...
@@ -282,4 +293,11 @@ cp buildid.txt r/buildid.txt
cp
export.stamp r/export.stamp
cp
exportstamp.txt r/exportstamp.txt
if
$compat
then
:
else
(
cd
r
&&
tar
cf -
*
)
>
xenofarm_result.tar
gzip
-1
xenofarm_result.tar
fi
exit
0
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