Lines Matching +full:check +full:- +full:test +full:- +full:suites
12 # EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
24 threadsNum=$(grep -c ^processor /proc/cpuinfo)
29 # Check whether an ASAN alarm is generated.
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
41 echo "ASAN ERROR. Exit with ucontext check failure."
54 # Run the specified test suites or test cases in the output directory.
60 echo "Begin Test"
64 # Run the specified test suite.
65 if [ ${#testsuite_array[*]} -ne 0 ] && [ ${#testcase_array[*]} -eq 0 ];then
79 # Run the specified test case.
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
124 echo "Test: $1" >> ${HITLS_ROOT_DIR}/testcode/output/time.txt
128 SUITES=$(ls ./ | grep .datax | sed -e "s/.datax//")
132 echo "Begin Test"
137 rm -f tmppipe
146 rm -f $retPipe
148 for i in $SUITES
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<&-
175 for i in $SUITES
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
251 executales=$(find ./ -maxdepth 1 -type f -perm -a=x )
257 if [ $exit_code -ne 0 ]; then
266 if [ $exit_code -ne 0 ]; then
272 if [ $exit_code -ne 0 ]; then
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