Bug 6046 - test reading shared libraries from sysroots
Summary: test reading shared libraries from sysroots
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Stan Cox
URL:
Keywords:
Depends on:
Blocks: 5624
  Show dependency treegraph
 
Reported: 2008-04-08 01:57 UTC by Andrew Cagney
Modified: 2008-04-09 02:44 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2008-04-08 01:57:15 UTC
There's no test for checking that a sysrooted program loads shared libraries
from the sysroot.

-	requestCreateAttachedProc(new File(template.getExeFile().getSysRootedPath()),
+	SysRootFile sysRootFile = template.getExeFile();
+	requestCreateAttachedProc(new File(sysRootFile.getSysRootedPath()),
 				  null, null, null,
 				  template.getCmdLine(),
+				  new SysRoot(sysRootFile.getSysRoot()).getLibPathViaSysRoot(),
 				  attachedObserver);
     }
Comment 1 Stan Cox 2008-04-09 02:44:44 UTC
Changed frysk.hpd.TestSysRoot to also be a shared library test.

* Makefile.am (frysk/pkglibdir/funit-addresses-stripped): Remove.
(frysk/pkglibdir/test-sysroot): New.
(frysk/pkglibdir/arch32/funit-addresses-stripped): Remove.
(frysk/pkglibdir/arch32/test-sysroot): New.
* TestSysRoot.java (testHaveSysRoot): Use funit-quicksort instead of
funit-addresses.