Bug 2269 - funit fails as prog/kill/child et.al. not installed
Summary: funit fails as prog/kill/child et.al. not installed
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2242
  Show dependency treegraph
 
Reported: 2006-02-05 19:18 UTC by Andrew Cagney
Modified: 2006-02-06 06:17 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-02-05 19:18:55 UTC
The in-tree programs, such as prog/kill/child, need to be installed into
$(pkglibexecdir) (and funit should cd to that directory before running anything).
Comment 1 Andrew Cagney 2006-02-06 06:13:25 UTC
Index: frysk-imports/frysk/junit/Paths.java
2006-02-05  Andrew Cagney  <cagney@redhat.com>

        * Paths.java: New file.

Index: frysk-imports/frysk/ChangeLog
2006-02-06  Andrew Cagney  <cagney@redhat.com>

        * Config.javain PKGLIBEXECDIR): Add.

Index: frysk-core/ChangeLog
2006-02-06  Andrew Cagney  <cagney@redhat.com>

        * Makefile.am (frysk_pkglibexecdir_funit_ia32_regs_SOURCES)
        (pkglibexec_PROGRAMS)
        (frysk_pkglibexecdir_funit_ia32_modify_SOURCES)
        (pkglibexec_PROGRAMS): Define.

Index: frysk-core/common/ChangeLog
2006-02-05  Andrew Cagney  <cagney@redhat.com>

        * TestRunner.javain: Set Paths.setExecPrefix to
        frysk/pkglibexecdir/ in the build tree.
        * Makefile.gen.sh (name_): Use sed's y to transliterate
        characters, convert <<->> to <<_>>.
        (echo_MANS): Do not require .xml file.

Index: frysk-core/frysk/pkglibexecdir/ChangeLog
2006-02-05  Andrew Cagney  <cagney@redhat.com>

        * funit-child.xml: New file.
        * funit-child.c: Copy from frysk-core/prog/.
        * funit-exit.c: Ditto.
        * funit-fib-clone.c: Ditto.
        * funit-fib-exec.c: Ditto.
        * funit-fib-fork.c: Ditto.
        * funit-ia32-modify.S: Ditto.
        * funit-ia32-regs.S: Ditto.
        * funit-modify.c: Ditto.
        * funit-print-argc.c: Ditto.
        * funit-print-argv.c: Ditto.
        * funit-print-auxv.c: Ditto.
        * funit-print-envp.c: Ditto.
        * funit-syscall-exec.c: Ditto.
        * funit-syscall-threadexec.c: Ditto.
        * funit-syscallint.c: Ditto.
        * funit-syscallloop.c: Ditto.
        * funit-syscalls.c: Ditto.
        * funit-threads.c: Ditto.

Index: frysk-core/frysk/proc/ChangeLog
2006-02-05  Andrew Cagney  <cagney@redhat.com>

        * TestLib.java: Prefix executables with prefix from
        frysk.junit.Paths; add funit- et.al. prefixes to program names.
        * TestExec.java: Ditto.
        * TestI386Modify.java: Ditto.
        * TestI386Regs.java: Ditto.
        * TestModify.java: Ditto.
        * TestProcGet.java: Ditto.
        * TestSyscall.java: Ditto.
        * TestSyscall2.java: Ditto.
        * TestSyscallInterrupt.java: Ditto.
        * TestSyscallOpen.java: Ditto.
        * TestTaskClonedObserver.java: Ditto.
        * TestTaskForkedObserver.java: Ditto.
        * TestTaskObserver.java: Ditto.
        * TestTaskObserverBlocked.java: Ditto.
        * TestTaskTerminateObserver.java: Ditto.

Index: frysk-core/prog/ChangeLog
2006-02-06  Andrew Cagney  <cagney@redhat.com>

        * x86isa/x86regs.S: Move to frysk/pkglibexecdir/
        * fib/clone.c: Ditto.
        * fib/exec.c: Ditto.
        * fib/fork.c: Ditto.
        * kill/child.c: Ditto.
        * kill/threads.c: Ditto.
        * modify/modify.c: Ditto.
        * print/argc.c: Ditto.
        * print/argv.c: Ditto.
        * print/auxv.c: Ditto.
        * print/envp.c: Ditto.
        * syscall/exec.c: Ditto.
        * syscall/syscallint.c: Ditto.
        * syscall/syscallloop.c: Ditto.
        * syscall/syscalls.c: Ditto.
        * syscall/threadexec.c: Ditto.
        * terminated/exit.c: Ditto.
        * x86isa/x86modify.S: Ditto.
Comment 2 Andrew Cagney 2006-02-06 06:17:51 UTC
Index: frysk-core/frysk/pkglibexecdir/ChangeLog
2006-02-06  Andrew Cagney  <cagney@redhat.com>

        * funit.java: Call Paths .setExecPrefix with PKGLIBEXECDIR.