• Home
  • Raw
  • Download

Lines Matching +full:demo +full:- +full:v2

5 # openHiTLS is licensed under the Mulan PSL v2.
6 # You can use this software according to the terms and conditions of the Mulan PSL v2.
7 # You may obtain a copy of Mulan PSL v2 at:
12 # EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
14 # See the Mulan PSL v2 for more details.
24 threadsNum=$(grep -c ^processor /proc/cpuinfo)
31 ASAN_LOG=$(find ../output -name "asan.log*")
32 if [ ! -z "$ASAN_LOG" ]; then
35 if grep -q "ASan doesn't fully support makecontext/swapcontext" $i
37 line_count=$(wc -l < "$i")
38 if [ "$line_count" -eq 1 ]; then
65 if [ ${#testsuite_array[*]} -ne 0 ] && [ ${#testcase_array[*]} -eq 0 ];then
80 if [ ${#testcase_array[*]} -ne 0 ];then
90 elapsed=$((end_time - start_time))
105 last_index=$((${#array[@]}-1))
113 fail_num=`expr $testcase_num - $pass_num - $skip_num`
116 if [ ${fail_num} -ne 0 ]; then
128 SUITES=$(ls ./ | grep .datax | sed -e "s/.datax//")
137 rm -f tmppipe
146 rm -f $retPipe
151 read -u5
155 …H="../testdata/provider/path1:${LD_LIBRARY_PATH}" ./${i} NO_DETAIL || (read -u8 && echo "1 $i" >&8)
157 ./${i} NO_DETAIL || (read -u8 && echo "1 $i" >&8)
164 exec 5>&-
165 exec 5<&-
166 read -u8 ret
167 exec 8<&-
188 elapsed=$((end_time - start_time))
189 …eval "echo Elapsed time: $(date -ud "@$elapsed" +'$((%s/3600/24)) days %H hr %M min %S sec') >> ti…
199 if [ -f "$1" ]; then
205 testsuite=`grep -l $1 *.c`
224 printf "%-50s %-30s\n" "Run All Testsuites Of The Output" "sh ${BASH_SOURCE[0]}"
225 …printf "%-50s %-30s\n" "Run The Specified Testsuite" "sh ${BASH_SOURCE[0]} test_suites_xx…
226 …printf "%-50s %-30s\n" "Run The Specified Testcase" "sh ${BASH_SOURCE[0]} UT_CRYPTO_xxx …
227 … printf "%-50s %-30s\n" "Set Thread Pool Size" "sh ${BASH_SOURCE[0]} threads=N"
228 … printf "%-50s %-30s\n" "Example: Run with 4 threads" "sh ${BASH_SOURCE[0]} threads=4"
237 if [ $? -eq 0 ]; then
250 pushd ${HITLS_ROOT_DIR}/testcode/demo/build
251 executales=$(find ./ -maxdepth 1 -type f -perm -a=x )
257 if [ $exit_code -ne 0 ]; then
258 echo "Demo ${e} failed"
266 if [ $exit_code -ne 0 ]; then
267 echo "Demo ${e} failed"
272 if [ $exit_code -ne 0 ]; then
273 echo "Demo ${e} failed"
281 rm -rf ${HITLS_ROOT_DIR}/testcode/output/log/*
282 rm -rf ${HITLS_ROOT_DIR}/testcode/output/result.log
283 rm -rf ${HITLS_ROOT_DIR}/testcode/output/*.sock*
284 rm -rf ${HITLS_ROOT_DIR}/testcode/output/asan*
289 if [ ${need_run_all} -eq 1 ]; then