mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add srs.test for configure test and utest.
This commit is contained in:
parent
7a66dd8186
commit
36c2c37b42
3 changed files with 7 additions and 1 deletions
|
@ -663,3 +663,8 @@ echo "\"" >> $SRS_AUTO_HEADERS_H
|
|||
|
||||
# new empty line to auto headers file.
|
||||
echo "" >> $SRS_AUTO_HEADERS_H
|
||||
|
||||
#####################################################################################
|
||||
# generated the test script
|
||||
#####################################################################################
|
||||
rm -rf ${SRS_OBJS}/srs.test && ln -sf `pwd`/scripts/srs.test objs/srs.test
|
||||
|
|
1
trunk/configure
vendored
1
trunk/configure
vendored
|
@ -632,3 +632,4 @@ if [ $SRS_HTTP_CALLBACK = YES ]; then
|
|||
echo -e "\" python ./research/api-server/server.py 8085 \" to start the api-server"
|
||||
fi
|
||||
echo "\" ./objs/srs -c conf/srs.conf \" to start the srs live server"
|
||||
echo "\" ./objs/srs.test \" to test srs"
|
||||
|
|
|
@ -14,7 +14,7 @@ product_dir=$work_dir
|
|||
build_objs=${work_dir}/objs
|
||||
package_dir=${build_objs}/package
|
||||
|
||||
log="${build_objs}/logs/package.`date +%s`.log" && . ${product_dir}/scripts/_log.sh && check_log
|
||||
log="${build_objs}/test.`date +%s`.log" && . ${product_dir}/scripts/_log.sh && check_log
|
||||
ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi
|
||||
|
||||
item="default configure"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue