Bug 3772

Summary: 32-on-64 tests need location of 32-bit directory
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2234    

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.