1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add usage and make jobs support for configure test script

This commit is contained in:
winlin 2015-05-27 07:30:37 +08:00
parent c1b9541b5c
commit 02c4741d64
2 changed files with 51 additions and 42 deletions

View file

@ -1,5 +1,11 @@
#!/bin/bash
bash scripts/test_configure.sh && ./objs/srs_utest
echo "Usage: $0 [-jN]"
echo " -jN The make jobs, for example, -j8 to use 8cpu to make"
params="$@"
echo "params is: $params"
bash scripts/test_configure.sh $params && ./objs/srs_utest
ret=$?; if [[ 0 -ne $ret ]]; then echo "configure test and utest failed."; exit $ret; fi
echo "configure test and utest success";