<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5126</bug_id>
          
          <creation_ts>2013-09-05 09:34:24 +0000</creation_ts>
          <short_desc>ptest-runner can not deal with soft link under /usr/lib or /usr/lib64, such as perl5 --&gt; perl</short_desc>
          <delta_ts>2013-09-12 00:05:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="LiRongQing">rongqing.li</reporter>
          <assigned_to name="LiRongQing">rongqing.li</assigned_to>
          <cc>bjst</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36325</commentid>
    <comment_count>0</comment_count>
    <who name="LiRongQing">rongqing.li</who>
    <bug_when>2013-09-05 09:34:24 +0000</bug_when>
    <thetext>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 -&gt; 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:~#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36569</commentid>
    <comment_count>1</comment_count>
    <who name="LiRongQing">rongqing.li</who>
    <bug_when>2013-09-12 00:05:32 +0000</bug_when>
    <thetext>Author: Roy Li &lt;rongqing.li@windriver.com&gt;
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 &lt;rongqing.li@windriver.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>