Bug 5125 - ptest-runner should check both of /use/lib and /use/lib64
Summary: ptest-runner should check both of /use/lib and /use/lib64
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5 M5
Assignee: LiRongQing
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-05 09:31 UTC by LiRongQing
Modified: 2013-09-12 00:04 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>