ptest-runner will check all directory under /usr/lib* and confirm which directory contain ptest, if the directory have a soft link under /use/lib*, ptest-runner will run the test two times. For example, the ptest under perl5 will be run two times. root@localhost:~# ls -l /usr/lib64 | grep perl lrwxrwxrwx 1 root root 4 Aug 20 12:11 perl5 -> perl root@localhost:~# grep BEGIN: /ptest-run-2013-08-21T06\:46.log BEGIN: bash BEGIN: busybox BEGIN: bzip2 BEGIN: dbus-ptest BEGIN: ethtool BEGIN: glib-2.0 BEGIN: kmod BEGIN: perl BEGIN: perl5 BEGIN: python BEGIN: strace root@localhost:~#
Author: Roy Li <rongqing.li@windriver.com> Date: Wed Sep 11 17:17:32 2013 +0800 ptest-runner: trivial fixes and refine 1. ptest files may be installed under /usr/lib64/ for 64bit filesystem or under /usr/lib/ for 64bit multilib filesystem, so we should check both directories 2. If a soft link is linking to a directory under the same directory, we only run once. [YOCTO #5125] [YOCTO #5126] Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>