Bug 5125

Summary: ptest-runner should check both of /use/lib and /use/lib64
Product: [Build System, Metadata & Runtime] OE-Core Reporter: LiRongQing <rongqing.li>
Component: coreAssignee: LiRongQing <rongqing.li>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bjst, mark.hatle, meta.mr.watcher, meta.watcher
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description LiRongQing 2013-09-05 09:31:27 UTC
PTEST_PATH in ptest.bbclass is ${libdir}, it maybe /usr/lib64, but ptest-runner only works on /usr/lib
Comment 1 LiRongQing 2013-09-12 00:04:21 UTC
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>