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/)$//')
263 let total_cnt+=1
264 $CC -o $tmp_file.bin $lib $tmp_file > /dev/null 2>&1
267 let fail_cnt+=1
274 let pass_cnt+=1
285 echo -e "========================================================";
286 echo -e "Kselftest Dependency Check for [$0 $1 $2] results..."
290 echo -e "Suggested Selftest Targets for your configuration:"
291 echo -e "$targets";
294 echo -e "========================================================";
295 echo -e "Checked tests defining LDLIBS dependencies"
296 echo -e "--------------------------------------------------------";
297 echo -e "Total tests with Dependencies:"
298 echo -e "$total_cnt Pass: $pass_cnt Fail: $fail_cnt";
301 echo -e "--------------------------------------------------------";
303 echo -e "--------------------------------------------------------";
304 echo -e "Targets passed build dependency check on system:"
305 echo -e "$(echo "$pass_trgts" | xargs -n1 | sort -u | xargs)"
309 echo -e "--------------------------------------------------------";
311 echo -e "--------------------------------------------------------";
312 echo -e "Targets failed build dependency check on system:"
313 echo -e "$(echo "$fail_trgts" | xargs -n1 | sort -u | xargs)"
314 echo -e "--------------------------------------------------------";
315 echo -e "Missing libraries system"
316 echo -e "$(echo "$fail_libs" | xargs -n1 | sort -u | xargs)"
319 echo -e "--------------------------------------------------------";
320 echo -e "========================================================";