diff options
author | Christopher Faylor <me@cgf.cx> | 2002-08-26 02:53:24 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-08-26 02:53:24 +0000 |
commit | 9d89f63486e9294714f900f9f98f5a4454a40a7e (patch) | |
tree | b1420e5b8d7b5e457219e7524a0ef77ccd265798 /winsup/testsuite/Makefile.in | |
parent | f77cd636427e5f82f5560acecd40ad8e90183b75 (diff) | |
download | cygnal-9d89f63486e9294714f900f9f98f5a4454a40a7e.tar.gz cygnal-9d89f63486e9294714f900f9f98f5a4454a40a7e.tar.bz2 cygnal-9d89f63486e9294714f900f9f98f5a4454a40a7e.zip |
* Makefile.in (RUNTEST): Use Makefile's srcdir and bupdir* macros, where
appropriate.
* winsup.api/winsup.exp: Use -nodefaultlibs when linking executable to avoid
potentially linking installed dll.
Diffstat (limited to 'winsup/testsuite/Makefile.in')
-rw-r--r-- | winsup/testsuite/Makefile.in | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/winsup/testsuite/Makefile.in b/winsup/testsuite/Makefile.in index dd4abe4a3..1658c362d 100644 --- a/winsup/testsuite/Makefile.in +++ b/winsup/testsuite/Makefile.in @@ -78,8 +78,8 @@ EXPECT = `if [ -f $${rootme}/../../expect/expect$(EXEEXT) ] ; then \ echo $${rootme}/../../expect/expect$(EXEEXT) ; \ else echo expect ; fi` -RUNTEST = `if [ -f $${srcdir}/../../dejagnu/runtest ] ; then \ - echo $${srcdir}/../../dejagnu/runtest ; \ +RUNTEST = `if [ -f ${srcdir}/../../dejagnu/runtest ] ; then \ + echo ${srcdir}/../../dejagnu/runtest ; \ else echo runtest; fi` RUNTESTFLAGS = @@ -173,12 +173,10 @@ testsuite/site.exp: site.exp # Note: we set the PATH so that we can pick up new-cygwin1.dll check: $(TESTSUP_LIB_NAME) $(RUNTIME) testsuite/site.exp - -rootme=`pwd`; export rootme; \ - srcdir=`cd ${srcdir}; pwd` ; export srcdir ; \ cd testsuite; \ EXPECT=${EXPECT} ; export EXPECT ; \ - if [ -f $${rootme}/../expect/expect ] ; then \ + if [ -f $(bupdir2)/expect/expect ] ; then \ TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; pwd` ; \ export TCL_LIBRARY ; fi ; \ - PATH=$${rootme}/../cygwin:$${PATH} ;\ + PATH=$(bupdir)/cygwin:$${PATH} ;\ $(RUNTEST) --tool winsup $(RUNTESTFLAGS) |