www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/08/31/16:38:19

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Fri, 1 Sep 2000 00:35:28 +0400
From: Egor Duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: Egor Duda <deo AT logos-m DOT ru>
Organization: DEO
X-Priority: 3 (Normal)
Message-ID: <173301615790.20000901003528@logos-m.ru>
To: cygwin-developers AT sources DOT redhat DOT com
Subject: Re: moving testsuite 1 level up
In-reply-To: <200008312018.QAA25051@envy.delorie.com>
References: <130300190981 DOT 20000901001144 AT logos-m DOT ru>
<200008312018 DOT QAA25051 AT envy DOT delorie DOT com>
Mime-Version: 1.0

Hi!

Friday, 01 September, 2000 DJ Delorie dj AT delorie DOT com wrote:

DD> Where  the  testsuite  is,  and  where  it runs, are two different
DD> things.   If   you   put   a   testsuite  anywhere  other  than  a
DD> *subdirectory*  under  winsup/cygwin/testsuite,  dejagnu  won't be
DD> able to run it.

yes, i know. i was meaning to move all cygwin/testsuite directory. the
reason  is  that  new  testsuite  needs some kind of "support", namely
separately  built  library  that all (new) tests are linked with (just
like  it  works  now  with new-libcygwin.a). i just think that pitting
sources  for  this library into separate dir and building this library
separately will be more tidy.

DD> Perhaps it's time to update Maekfile.common to use some $(UPTOP)
DD> (defined to ".." in most cases) variable?

i  wanted  to  to  that but stumbled over code in Makefile.common that
sets updir* and bupdir* vars. i don't understand why not just set them
.. , ../.. and ../../..

and  don't  feel  i  can  mess with the code i don't fully understand.
maybe someone enlighten me on this subject?

DD> Don't forget that testsuites are run with "make check" and should be
DD> integrated into dejagnu.

of course. i propose the followin structure

winsup/
  cygwin/
  utils/
  .../
  testsuite/
     default/
     winsup.api/
        sample/
        ltp/         (new tests sources)
     testsup/
        include/     (headers needed by new tests)
        lib/         (sources of test support library)

testsuite/  will  contain  configure and Makefile.in whick when turned
into Makefile and called with "make" will just build testsup library,
and when called with "make check" will invoke runtest.

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019