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

<bugzilla version="4.4+"
          urlbase="http://sourceware.org/bugzilla/"
          
          maintainer="overseers@sourceware.org"
>

    <bug>
          <bug_id>3757</bug_id>
          
          <creation_ts>2006-12-19 04:08:00 +0000</creation_ts>
          <short_desc>dejagnu tests have hard wired paths</short_desc>
          <delta_ts>2006-12-21 16:38:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>frysk</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>3548</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrew Cagney">cagney</reporter>
          <assigned_to name="Stan Cox">scox</assigned_to>
          
          <cf_gcchost></cf_gcchost>
          <cf_gcctarget></cf_gcctarget>
          <cf_gccbuild></cf_gccbuild>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14138</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Cagney">cagney</who>
    <bug_when>2006-12-19 04:08:02 +0000</bug_when>
    <thetext>The dejagnu tests can&apos;t be run from the install tree - they contain hard-wired
build tree paths.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14184</commentid>
    <comment_count>1</comment_count>
    <who name="Stan Cox">scox</who>
    <bug_when>2006-12-20 22:37:52 +0000</bug_when>
    <thetext>This patch works, assuming: 
1) srcdir and objdir are set properly in site.exp 
 e.g. if running runtest from frysk/install given frysk/bld and frysk/src:
# add to site.exp
set srcdir ../src/frysk-core
set objdir /tmp
2) fcore, fstack, hpd are on the PATH.  This is currently not true as hpd is not
being installed so state left as ASSIGNED pending fixing that.

+       * expr/CppParser.exp (hpd_path): New for install tree testing.
+       * util/fcore.exp (funit_path, fcore_path): Likewise.
+       * util/fstack.exp (funit_path, fstack_path): Likewise.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14193</commentid>
    <comment_count>2</comment_count>
    <who name="Stan Cox">scox</who>
    <bug_when>2006-12-21 16:38:36 +0000</bug_when>
    <thetext>fhpd.java and fhpd.xml committed.

% make check-DEJAGNU
                ===  Summary ===
# of expected passes            32
% PATH=`pwd`/lib/frysk/:`pwd`/bin:$PATH runtest \
--srcdir../src/frysk-core/testsuite --objdir /tmp
                ===  Summary ===
# of expected passes            28  
(skip tests that rely on uninstalled test program)

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>