Lines Matching +full:1 +full:e

13 echo -e "Usage: $0 -[p] <compiler> [test_name]\n"
14 echo -e "\tkselftest_deps.sh [-p] gcc"
15 echo -e "\tkselftest_deps.sh [-p] gcc mm"
16 echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc"
17 echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc mm\n"
30 exit 1
41 echo -e "\tPlease run $0 in"
42 echo -e "\ttools/testing/selftests directory ..."
43 exit 1
51 print_targets=1
62 CC=$1
93 targets=$(grep -E "^TARGETS +|^TARGETS =" Makefile | cut -d "=" -f2)
110 print_results $1 $2
114 # Level 1: LDLIBS set static.
122 grep -v "$filter" | awk -F: '{print $1}' | uniq)
129 # e.g: mm/Makefile:$(OUTPUT)/userfaultfd: LDLIBS += -lpthread
135 grep -v "$filter" | awk -F: '{print $1}' | uniq)
142 # e.g:
147 grep -v "pkg-config\|PKG_CONFIG" | awk -F: '{print $1}' | uniq)
153 # e.g:
157 grep "pkg-config\|PKG_CONFIG" | awk -F: '{print $1}' | uniq)
162 # e.g.:
166 awk -F: '{print $1}' | uniq)
175 print_results $1 $2
209 sed -e 's/\:/ /' | \
210 sed -e 's/+/ /' | cut -d "=" -f 2)
220 sed -e 's/\:/ /' | sed -e 's/+/ /' | \
229 grep -v "pkg-config" | sed -e 's/\:/ /' |
230 sed -e 's/+/ /' | cut -d "=" -f 2)
239 sed -e 's/.*|| echo //' | sed -e 's/)$//')
264 let total_cnt+=1
265 $CC -o $tmp_file.bin $lib $tmp_file > /dev/null 2>&1
268 let fail_cnt+=1
275 let pass_cnt+=1
286 echo -e "========================================================";
287 echo -e "Kselftest Dependency Check for [$0 $1 $2] results..."
291 echo -e "Suggested Selftest Targets for your configuration:"
292 echo -e "$targets";
295 echo -e "========================================================";
296 echo -e "Checked tests defining LDLIBS dependencies"
297 echo -e "--------------------------------------------------------";
298 echo -e "Total tests with Dependencies:"
299 echo -e "$total_cnt Pass: $pass_cnt Fail: $fail_cnt";
302 echo -e "--------------------------------------------------------";
304 echo -e "--------------------------------------------------------";
305 echo -e "Targets passed build dependency check on system:"
306 echo -e "$(echo "$pass_trgts" | xargs -n1 | sort -u | xargs)"
310 echo -e "--------------------------------------------------------";
312 echo -e "--------------------------------------------------------";
313 echo -e "Targets failed build dependency check on system:"
314 echo -e "$(echo "$fail_trgts" | xargs -n1 | sort -u | xargs)"
315 echo -e "--------------------------------------------------------";
316 echo -e "Missing libraries system"
317 echo -e "$(echo "$fail_libs" | xargs -n1 | sort -u | xargs)"
320 echo -e "--------------------------------------------------------";
321 echo -e "========================================================";