Lines Matching +full:check +full:- +full:shellcheck

7 if [ ! -f config.mak ]; then
8 echo "run ./configure && make first. See ./configure -h"
19 Usage: $0 [-h] [-v] [-a] [-g group] [-j NUM-TASKS] [-t] [-l]
21 -h, --help Output this help text
22 -v, --verbose Enables verbose mode
23 -a, --all Run all tests, including those flagged as 'nodefault'
25 -g, --group Only execute tests in the given group
26 -j, --parallel Execute tests in parallel
27 -t, --tap13 Output test results in TAP format
28 -l, --list Only output all tests list
29 --probe-maxsmp Update the maximum number of VCPUs supported by host
33 QEMU Path to QEMU binary for ARCH-run
38 CHECK Overwrites the 'check' unit test parameter (see
40 KVMTOOL Path to kvmtool binary for ARCH-run
48 getopt -T > /dev/null
49 if [ $? -ne 4 ]; then
56 args=$(getopt -u -o ag:htj:vl -l all,group:,help,tap13,parallel:,verbose,list,probe-maxsmp -- "$@")
57 # Shellcheck likes to test commands directly rather than with $? but sometimes they
59 # shellcheck disable=SC2181
60 [ $? -ne 0 ] && exit 2;
61 set -- $args;
62 while [ $# -gt 0 ]; do
64 -a | --all)
68 -g | --group)
72 -h | --help)
76 -j | --parallel)
80 echo "Invalid -j option: $unittest_run_queues"
84 -v | --verbose)
87 -t | --tap13)
90 -l | --list)
93 --probe-maxsmp)
96 --)
113 while read -r line; do
117 echo "ok TEST_NUMBER - ${testname}: ${line#??????}" >&3
120 echo "not ok TEST_NUMBER - ${testname}: ${line#??????}" >&3
123 echo "ok TEST_NUMBER - ${testname}: ${line#??????} # skip" >&3
133 while read -r line; do
160 while (( $(jobs | wc -l) == $unittest_run_queues )); do
162 wait -n 2>/dev/null
181 if [ -n "$only_group" ] && ! find_word "$only_group" "$groups"; then
191 rm -rf $unittest_log_dir.old
192 [ -d $unittest_log_dir ] && mv $unittest_log_dir $unittest_log_dir.old
195 echo "BUILD_HEAD=$(cat build-head)" > $unittest_log_dir/SUMMARY