This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch][rfa] Finding 'runtest' using 'make check'


I'd like to commit this patch which corrects the location of 'runtest' when running 'make check' and 'make check-<tool>'. Currently, the root configure.in sets the location to be in the build tree when $host = $build. However, runtest is in the source tree. This patch to configure.in propogates the correct location to the root level Makefile which then passes it on recursively to the Makefiles for each tool.

ok to commit?

Dave

2006-09-25  Dave Brolley  <brolley@redhat.com>

	* configure.in (RUNTEST): Look for 'runtest' in the source tree by using
	$s instead of $r.

Index: configure.in
===================================================================
RCS file: /cvs/src/src/configure.in,v
retrieving revision 1.316
diff -c -p -r1.316 configure.in
*** configure.in	30 Aug 2006 13:14:18 -0000	1.316
--- configure.in	25 Sep 2006 20:46:34 -0000
*************** esac
*** 2258,2264 ****
  AC_CHECK_PROGS(RUNTEST, runtest, runtest)
  case " $configdirs " in
    *" dejagnu "*)
!     test $host = $build && RUNTEST='$$r/$(HOST_SUBDIR)/dejagnu/runtest'
      ;;
  esac
  
--- 2258,2264 ----
  AC_CHECK_PROGS(RUNTEST, runtest, runtest)
  case " $configdirs " in
    *" dejagnu "*)
!     test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
      ;;
  esac
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]