Skip to content
GitLab
Menu
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
5d7767e7
Commit
5d7767e7
authored
Sep 19, 2002
by
Per Cederqvist
Browse files
Check for warnings during configure and ckprg. Ignore a few more
warnings during make.
parent
db43cd29
Changes
1
Show whitespace changes
Inline
Side-by-side
scripts/xenofarm.sh
View file @
5d7767e7
...
...
@@ -264,18 +264,31 @@ log Begin response assembly
timeecho Collecting results
# Check for warnings
if
test
-f
r/cfg.pass
then
egrep
-i
'warning|\(w\)'
r/cfglog.txt
\
>
r/cfgwarn.txt
if
test
`
wc
-l
< r/cfgwarn.txt
`
-gt
0
then
mv
r/cfg.pass r/cfg.warn
fi
fi
if
test
-f
r/make.pass
then
egrep
-i
'warning|\(w\)'
r/makelog.txt
\
|
grep
-v
regex
\\
.c
\
|
grep
-v
'aux-item-def-scan\.c:.*: warning: .* defined but not used'
\
|
grep
-v
'getopt.h:.*: warning: function declaration isn.t a prototype'
\
|
grep
-v
'/usr/include/bits/socket.h:.*: warning: cast increases required alignment of target type'
\
|
grep
-v
'/usr/include/sys/vnode.h:.*: warning: declaration of .free. shadows global declaration'
\
|
grep
-v
'".*1506-112 .W. Duplicate type qualifier "volatile" ignored.'
\
|
grep
-v
'sigflags.h:3[06]: warning: duplicate .volatile.'
\
|
grep
-v
'sigflags.h:3[06]: warning: duplicate .volatile.'
\
|
grep
-v
'connections.c:.*: warning: duplicate .volatile.'
\
|grep
-v
'".*1506-112 .W. Duplicate type qualifier "volatile" ignored.'
\
|grep
-v
'/usr/include/bits/socket.h:.*: warning: cast increases required alignment of target type'
\
|grep
-v
'/usr/include/sys/vnode.h:.*: warning: declaration of .free. shadows global declaration'
\
|grep
-v
'aux-item-def-scan\.c:.*: warning: .* defined but not used'
\
|grep
-v
'connections.c:.*: warning: duplicate .volatile.'
\
|grep
-v
'getopt1?.[hc]:.*: warning: function declaration isn.t a prototype'
\
|grep
-v
'getopt.c:451: warning: .indfound. might be used uninitialized in this function'
\
|grep
-v
'getopt.c:461: warning: comparison between signed and unsigned'
\
|grep
-v
'ramkomd.c:\(188\|305\): warning: function declaration isn.t a prototype'
\
|grep
-v
'sigflags.h:3[06]: warning: duplicate .volatile.'
\
|grep
-v
regex
\\
.c
\
>
r/makewarn.txt
if
test
`
wc
-l
< r/makewarn.txt
`
-gt
0
then
...
...
@@ -283,6 +296,20 @@ then
fi
fi
if
test
-f
r/ckprg.pass
then
egrep
-i
'warning|\(w\)'
r/ckprglog.txt
\
|grep
-v
'WARNING: Couldn.t find the global config file.'
\
|grep
-v
'WARNING: Couldn.t find tool init file'
\
>
r/ckprgwarn.txt
if
test
`
wc
-l
< r/ckprgwarn.txt
`
-gt
0
then
mv
r/ckprg.pass r/ckprg.warn
fi
fi
# Collect stuff.
cp
$BASE
/config.cache r/configcache.txt
cp
$BASE
/config.h r/config-h.txt
for
file
in
$BASE
/src/server/testsuite/
*
.log
...
...
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