winlin

update test configure script

@@ -47,6 +47,123 @@ ok_msg "test ${item}" @@ -47,6 +47,123 @@ ok_msg "test ${item}"
47 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi 47 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
48 ok_msg "test ${item} success" 48 ok_msg "test ${item} success"
49 49
  50 +item="preset --fast --with-ssl"
  51 +ok_msg "test ${item}"
  52 +(./configure --fast --with-ssl && make) >>$log 2>&1
  53 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  54 +ok_msg "test ${item} success"
  55 +
  56 +item="preset --fast --with-hls"
  57 +ok_msg "test ${item}"
  58 +(./configure --fast --with-hls && make) >>$log 2>&1
  59 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  60 +ok_msg "test ${item} success"
  61 +
  62 +item="preset --fast --with-dvr"
  63 +ok_msg "test ${item}"
  64 +(./configure --fast --with-dvr && make) >>$log 2>&1
  65 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  66 +ok_msg "test ${item} success"
  67 +
  68 +item="preset --fast --with-nginx"
  69 +ok_msg "test ${item}"
  70 +(./configure --fast --with-nginx && make) >>$log 2>&1
  71 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  72 +ok_msg "test ${item} success"
  73 +
  74 +item="preset --fast --with-http-callback"
  75 +ok_msg "test ${item}"
  76 +(./configure --fast --with-http-callback && make) >>$log 2>&1
  77 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  78 +ok_msg "test ${item} success"
  79 +
  80 +item="preset --fast --with-http-server"
  81 +ok_msg "test ${item}"
  82 +(./configure --fast --with-http-server && make) >>$log 2>&1
  83 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  84 +ok_msg "test ${item} success"
  85 +
  86 +item="preset --fast --with-http-api"
  87 +ok_msg "test ${item}"
  88 +(./configure --fast --with-http-api && make) >>$log 2>&1
  89 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  90 +ok_msg "test ${item} success"
  91 +
  92 +item="preset --fast --with-ffmpeg"
  93 +ok_msg "test ${item}"
  94 +(./configure --fast --with-ffmpeg && make) >>$log 2>&1
  95 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  96 +ok_msg "test ${item} success"
  97 +
  98 +item="preset --fast --with-transcode"
  99 +ok_msg "test ${item}"
  100 +(./configure --fast --with-transcode && make) >>$log 2>&1
  101 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  102 +ok_msg "test ${item} success"
  103 +
  104 +item="preset --fast --with-ingest"
  105 +ok_msg "test ${item}"
  106 +(./configure --fast --with-ingest && make) >>$log 2>&1
  107 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  108 +ok_msg "test ${item} success"
  109 +
  110 +item="preset --fast --with-librtmp"
  111 +ok_msg "test ${item}"
  112 +(./configure --fast --with-librtmp && make) >>$log 2>&1
  113 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  114 +ok_msg "test ${item} success"
  115 +
  116 +item="preset --fast --with-bwtc"
  117 +ok_msg "test ${item}"
  118 +(./configure --fast --with-bwtc && make) >>$log 2>&1
  119 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  120 +ok_msg "test ${item} success"
  121 +
  122 +item="preset --fast --with-research"
  123 +ok_msg "test ${item}"
  124 +(./configure --fast --with-research && make) >>$log 2>&1
  125 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  126 +ok_msg "test ${item} success"
  127 +
  128 +item="preset --fast --with-utest"
  129 +ok_msg "test ${item}"
  130 +(./configure --fast --with-utest && make) >>$log 2>&1
  131 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  132 +ok_msg "test ${item} success"
  133 +
  134 +item="preset --fast --with-gperf"
  135 +ok_msg "test ${item}"
  136 +(./configure --fast --with-gperf && make) >>$log 2>&1
  137 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  138 +ok_msg "test ${item} success"
  139 +
  140 +item="preset --fast --with-gperf --with-gmc"
  141 +ok_msg "test ${item}"
  142 +(./configure --fast --with-gperf --with-gmc && make) >>$log 2>&1
  143 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  144 +ok_msg "test ${item} success"
  145 +
  146 +item="preset --fast --with-gperf --with-gmp"
  147 +ok_msg "test ${item}"
  148 +(./configure --fast --with-gperf --with-gmp && make) >>$log 2>&1
  149 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  150 +ok_msg "test ${item} success"
  151 +
  152 +item="preset --fast --with-gperf --with-gcp"
  153 +ok_msg "test ${item}"
  154 +(./configure --fast --with-gperf --with-gcp && make) >>$log 2>&1
  155 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  156 +ok_msg "test ${item} success"
  157 +
  158 +item="preset --fast --with-gprof"
  159 +ok_msg "test ${item}"
  160 +(./configure --fast --with-gprof && make) >>$log 2>&1
  161 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test ${item} failed. ret=$ret"; exit $ret; fi
  162 +ok_msg "test ${item} success"
  163 +
  164 +#######################################################################################################
  165 +#######################################################################################################
  166 +#######################################################################################################
50 item="preset --dev" 167 item="preset --dev"
51 ok_msg "test ${item}" 168 ok_msg "test ${item}"
52 (./configure --dev && make) >>$log 2>&1 169 (./configure --dev && make) >>$log 2>&1