Sources Bugzilla – Bug 3757
dejagnu tests have hard wired paths
Last modified: 2006-12-21 16:38:36 UTC
The dejagnu tests can't be run from the install tree - they contain hard-wired build tree paths.
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.
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)