Bug 3772 - 32-on-64 tests need location of 32-bit directory
Summary: 32-on-64 tests need location of 32-bit directory
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2234
  Show dependency treegraph
 
Reported: 2006-12-20 18:09 UTC by Andrew Cagney
Modified: 2006-12-21 18:36 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 2006-12-20 18:09:16 UTC
For instance, a 64-bit program execing a 32-bit program needs the full path to
the 32 bit program.  The test can't assume that the 32-bit program is located in
a specific directory vis:

  getExecPrefix() + "arch32/funit-exec"

instead the full 32-bit exec path should be fetched:

  getExec32Prefix() + "funit-exec"
Comment 1 Andrew Cagney 2006-12-21 18:35:54 UTC
Mine
Comment 2 Andrew Cagney 2006-12-21 18:36:55 UTC
Index: frysk-core/frysk/proc/ChangeLog
2006-12-21  Andrew Cagney  <cagney@redhat.com>

        * TestLib.java (getExec32Prefix): Add.
        * TestIsa.java: Use getExec32Prefix.

Index: frysk-imports/frysk/junit/ChangeLog
2006-12-21  Andrew Cagney  <cagney@redhat.com>

        * TestPaths.java: Test getExec32Prefix.
        * Runner.java (runTestCases): Pass exec32Path to Paths
        .setPrefixes.
        * Paths.java (exec32Prefix): Add.
        (setPrefixes): Add exec32Prefix parameter.