Lines Matching +full:write +full:- +full:to +full:- +full:write

7 if [ ! -f config.mak ]; then
8 echo "run ./configure && make first. See ./configure -h"
18 Usage: $0 [-h] [-v] [-a] [-g group] [-j NUM-TASKS] [-t] [-l]
20 -h, --help Output this help text
21 -v, --verbose Enables verbose mode
22 -a, --all Run all tests, including those flagged as 'nodefault'
24 -g, --group Only execute tests in the given group
25 -j, --parallel Execute tests in parallel
26 -t, --tap13 Output test results in TAP format
27 -l, --list Only output all tests list
29 Set the environment variable QEMU=/path/to/qemu-system-ARCH to
30 specify the appropriate qemu binary for ARCH-run.
39 getopt -T > /dev/null
40 if [ $? -ne 4 ]; then
41 echo "Enhanced getopt is not available, add it to your PATH?"
47 args=$(getopt -u -o ag:htj:vl -l all,group:,help,tap13,parallel:,verbose,list,probe-maxsmp -- "$@")
48 # Shellcheck likes to test commands directly rather than with $? but sometimes they
49 # are too long to put in the same test.
51 [ $? -ne 0 ] && exit 2;
52 set -- $args;
53 while [ $# -gt 0 ]; do
55 -a | --all)
59 -g | --group)
63 -h | --help)
67 -j | --parallel)
71 echo "Invalid -j option: $unittest_run_queues"
75 -v | --verbose)
78 -t | --tap13)
81 -l | --list)
84 --probe-maxsmp)
87 --)
104 while read -r line; do
108 echo "ok TEST_NUMBER - ${testname}: ${line#??????}" >&3
111 echo "not ok TEST_NUMBER - ${testname}: ${line#??????}" >&3
114 echo "ok TEST_NUMBER - ${testname}: ${line#??????} # skip" >&3
124 while read -r line; do
151 while (( $(jobs | wc -l) == $unittest_run_queues )); do
152 # wait for any background test to finish
153 wait -n 2>/dev/null
172 if [ -n "$only_group" ] && ! find_word "$only_group" "$groups"; then
182 rm -rf $unittest_log_dir.old
183 [ -d $unittest_log_dir ] && mv $unittest_log_dir $unittest_log_dir.old
186 echo "BUILD_HEAD=$(cat build-head)" > $unittest_log_dir/SUMMARY
195 # preserve stdout so that process_test_output output can write TAP to it