mirror of https://github.com/CGAL/cgal
New attempt to catch runtime warnings. One need to grep in
ProgramOutput.*.* instead of ErrorOutput_*.
This commit is contained in:
parent
71dca77d50
commit
784c192699
|
|
@ -56,7 +56,7 @@ print_testresult()
|
|||
# string "warning" preceded with a letter that is not a letter or '_' or ','
|
||||
# That avoids some false positives such as
|
||||
# '-read_only_relocs,warning' or '-D_CRT_SECURE_NO_WARNINGS'
|
||||
if $GREP -i -E '[^a-zA-Z_,]warning' "CompilerOutput_$1" "ErrorOutput_$1" > /dev/null ; then
|
||||
if $GREP -i -E '[^a-zA-Z_,]warning' "CompilerOutput_$1" ProgramOutput.*.$1 > /dev/null ; then
|
||||
RESULT="w"
|
||||
else
|
||||
RESULT="y"
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ print_testresult()
|
|||
# string "warning" preceded with a letter that is not a letter or '_' or ','
|
||||
# That avoids some false positives such as
|
||||
# '-read_only_relocs,warning' or '-D_CRT_SECURE_NO_WARNINGS'
|
||||
if grep -i -E -q '[^a-zA-Z_,]warning' CompilerOutput_$1
|
||||
if grep -i -E -q '[^a-zA-Z_,]warning' CompilerOutput_$1 ProgramOutput.*.$1
|
||||
then
|
||||
RESULT="w"
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue