File tree Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,10 @@ function runtest()
7979 # $TESTDIR/run $cmd >$stdout 2>$stderr
8080 cd $TESTDIR
8181 ./run $cmd > $stdout 2> $stderr
82- tc_fail_if_bad $? " unexpected response" || return
82+ RC=$?
83+ [ $RC -eq 0 ] && tc_ignore_warnings " Unescaped left brace in regex is deprecated, passed through"
84+
85+ tc_fail_if_bad $RC " unexpected response" || return
8386 cd ..
8487 set $( cat $stdout | grep " passed, 0 failed)" | wc -l)
8588 [ $1 -eq 1 ]
Original file line number Diff line number Diff line change @@ -114,7 +114,11 @@ function runtest()
114114 tc_register " $tst "
115115
116116 srcdir=. PATH_SEPARATOR=: make -f Makefile.am $tst > $stdout 2> $stderr
117- tc_pass_or_fail $?
117+ RC=$?
118+ if [ $tst = " fnamedat" ] || [ $tst = " fnarray" ] || [ $tst = " fnarray2" ] || [ $tst = " fnarydel" ] || [ $tst = " fnasgnm" ] || [ $tst = " fnparydl" ] || [ $tst = " funsmnam" ] || [ $tst = " gsubasgn" ] || [ $tst = " parseme" ] || [ $tst = " badargs" ] || [ $tst = " match2" ] && [ $RC -eq 0 ]; then
119+ tc_ignore_warnings " make:"
120+ fi
121+ tc_pass_or_fail $RC
118122 rm -f _$tst
119123}
120124
Original file line number Diff line number Diff line change @@ -104,7 +104,9 @@ function test02(){
104104 let TST_TOTAL=$TST_TOTAL +1
105105 tc_register " libtool: linking library: foo.lo, hello.lo --> libhello.la"
106106 $LIBTOOL --mode=link --tag=CC $GCC -g -O -o libhello.la foo.lo hello.lo -rpath $TCTMP /libs -lm > $stdout 2> $stderr
107- tc_pass_or_fail $? " linking library libhello.la failed"
107+ RC=$?
108+ [ $RC -eq 0 ] && tc_ignore_warnings " ar:"
109+ tc_pass_or_fail $RC " linking library libhello.la failed"
108110}
109111
110112#
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ function TC_libxml2()
5555 if [ $? == 1 ]; then
5656 cat /dev/null > $stderr
5757 fi
58+ [ $? -eq 0 ] && tc_ignore_multiple_warnings " Missing result file result/errors/"
5859 tc_pass_or_fail $? " libxml2 runtest failure"
5960}
6061
You can’t perform that action at this time.
0 commit comments