正在显示
3 个修改的文件
包含
7 行增加
和
1 行删除
| @@ -663,3 +663,8 @@ echo "\"" >> $SRS_AUTO_HEADERS_H | @@ -663,3 +663,8 @@ echo "\"" >> $SRS_AUTO_HEADERS_H | ||
| 663 | 663 | ||
| 664 | # new empty line to auto headers file. | 664 | # new empty line to auto headers file. |
| 665 | echo "" >> $SRS_AUTO_HEADERS_H | 665 | echo "" >> $SRS_AUTO_HEADERS_H |
| 666 | + | ||
| 667 | +##################################################################################### | ||
| 668 | +# generated the test script | ||
| 669 | +##################################################################################### | ||
| 670 | +rm -rf ${SRS_OBJS}/srs.test && ln -sf `pwd`/scripts/srs.test objs/srs.test |
| @@ -632,3 +632,4 @@ if [ $SRS_HTTP_CALLBACK = YES ]; then | @@ -632,3 +632,4 @@ if [ $SRS_HTTP_CALLBACK = YES ]; then | ||
| 632 | echo -e "\" python ./research/api-server/server.py 8085 \" to start the api-server" | 632 | echo -e "\" python ./research/api-server/server.py 8085 \" to start the api-server" |
| 633 | fi | 633 | fi |
| 634 | echo "\" ./objs/srs -c conf/srs.conf \" to start the srs live server" | 634 | echo "\" ./objs/srs -c conf/srs.conf \" to start the srs live server" |
| 635 | +echo "\" ./objs/srs.test \" to test srs" |
| @@ -14,7 +14,7 @@ product_dir=$work_dir | @@ -14,7 +14,7 @@ product_dir=$work_dir | ||
| 14 | build_objs=${work_dir}/objs | 14 | build_objs=${work_dir}/objs |
| 15 | package_dir=${build_objs}/package | 15 | package_dir=${build_objs}/package |
| 16 | 16 | ||
| 17 | -log="${build_objs}/logs/package.`date +%s`.log" && . ${product_dir}/scripts/_log.sh && check_log | 17 | +log="${build_objs}/test.`date +%s`.log" && . ${product_dir}/scripts/_log.sh && check_log |
| 18 | ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi | 18 | ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi |
| 19 | 19 | ||
| 20 | item="default configure" | 20 | item="default configure" |
-
请 注册 或 登录 后发表评论