mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix the test configure script
This commit is contained in:
parent
1150cde829
commit
7e04975b8d
2 changed files with 1 additions and 9 deletions
|
@ -9,3 +9,4 @@ echo "params is: $params"
|
||||||
bash scripts/test_configure.sh $params && ./objs/srs_utest
|
bash scripts/test_configure.sh $params && ./objs/srs_utest
|
||||||
ret=$?; if [[ 0 -ne $ret ]]; then echo "configure test and utest failed."; exit $ret; fi
|
ret=$?; if [[ 0 -ne $ret ]]; then echo "configure test and utest failed."; exit $ret; fi
|
||||||
echo "configure test and utest success";
|
echo "configure test and utest success";
|
||||||
|
|
||||||
|
|
|
@ -272,13 +272,4 @@ ok_msg "test \" ${item} \""
|
||||||
ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
|
ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
|
||||||
ok_msg "test \" ${item} \" success"
|
ok_msg "test \" ${item} \" success"
|
||||||
|
|
||||||
#######################################################################################################
|
|
||||||
#######################################################################################################
|
|
||||||
#######################################################################################################
|
|
||||||
item="./configure --without-utest"
|
|
||||||
ok_msg "test \" ${item} \""
|
|
||||||
($item && make $params) >>$log 2>&1
|
|
||||||
ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
|
|
||||||
ok_msg "test \" ${item} \" success"
|
|
||||||
|
|
||||||
echo "success"
|
echo "success"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue