mirror of
https://github.com/nginx/nginx.git
synced 2026-09-21 20:34:13 +00:00
Configure: fixed autotest source code logging.
Fixed a regression introduced in rev. 434548349838 that prevented auto/types/sizeof and auto/types/typedef properly reporting autotest source code to autoconf.err in case of test failure.
This commit is contained in:
parent
74ee55ec1b
commit
622d152b9f
2 changed files with 9 additions and 6 deletions
|
|
@ -45,9 +45,6 @@ if [ -x $NGX_AUTOTEST ]; then
|
|||
fi
|
||||
|
||||
|
||||
rm -rf $NGX_AUTOTEST*
|
||||
|
||||
|
||||
case $ngx_size in
|
||||
4)
|
||||
ngx_max_value=2147483647
|
||||
|
|
@ -69,6 +66,11 @@ case $ngx_size in
|
|||
echo $ngx_test >> $NGX_AUTOCONF_ERR
|
||||
echo "----------" >> $NGX_AUTOCONF_ERR
|
||||
|
||||
rm -rf $NGX_AUTOTEST*
|
||||
|
||||
exit 1
|
||||
esac
|
||||
|
||||
|
||||
rm -rf $NGX_AUTOTEST*
|
||||
|
||||
|
|
|
|||
|
|
@ -49,8 +49,6 @@ END
|
|||
fi
|
||||
fi
|
||||
|
||||
rm -rf $NGX_AUTOTEST*
|
||||
|
||||
if [ $ngx_found = no ]; then
|
||||
echo $ngx_n " $ngx_try not found$ngx_c"
|
||||
|
||||
|
|
@ -59,8 +57,11 @@ END
|
|||
echo "----------" >> $NGX_AUTOCONF_ERR
|
||||
echo $ngx_test >> $NGX_AUTOCONF_ERR
|
||||
echo "----------" >> $NGX_AUTOCONF_ERR
|
||||
fi
|
||||
|
||||
else
|
||||
rm -rf $NGX_AUTOTEST*
|
||||
|
||||
if [ $ngx_found != no ]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue