Lines Matching +full:2 +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"
41 echo -e "\tPlease run $0 in"
42 echo -e "\ttools/testing/selftests directory ..."
93 targets=$(grep -E "^TARGETS +|^TARGETS =" Makefile | cut -d "=" -f2)
100 if [ $# -eq 2 ]
102 test=$2/Makefile
110 print_results $1 $2
124 # Level 2: LDLIBS set dynamically.
126 # Level 2
129 # e.g: mm/Makefile:$(OUTPUT)/userfaultfd: LDLIBS += -lpthread
142 # e.g:
144 # VAR_LDLIBS := $(shell pkg-config fuse --libs 2>/dev/null)
153 # e.g:
155 # LDLIBS += $(shell $(HOSTPKG_CONFIG) --libs libmnl 2>/dev/null || echo -lmnl)
162 # e.g.:
175 print_results $1 $2
209 sed -e 's/\:/ /' | \
210 sed -e 's/+/ /' | cut -d "=" -f 2)
220 sed -e 's/\:/ /' | sed -e 's/+/ /' | \
221 cut -d "=" -f 2)
229 grep -v "pkg-config" | sed -e 's/\:/ /' |
230 sed -e 's/+/ /' | cut -d "=" -f 2)
239 sed -e 's/.*|| echo //' | sed -e 's/)$//')
248 cut -d "=" -f 2)
264 $CC -o $tmp_file.bin $lib $tmp_file > /dev/null 2>&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 "========================================================";