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:
parent
c1b9541b5c
commit
02c4741d64
2 changed files with 51 additions and 42 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue