Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Sun, 7 Oct 2001 17:18:47 +0200 From: Corinna Vinschen To: cygdev Subject: Testsuite change Message-ID: <20011007171847.B2774@cygbert.vinschen.de> Reply-To: cygdev Mail-Followup-To: cygdev Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Hi, the current testsuite only links against libltp in the ltp subdir. I have a local version of my mmaptest01.c test which uses libltp. The advantage is the easy interface to allow more than one test in a testsuite source. Could we change winsup.exp to allow including and linking libltp with all tests? Index: winsup.exp =================================================================== RCS file: /cvs/src/src/winsup/testsuite/winsup.api/winsup.exp,v retrieving revision 1.6 diff -u -p -r1.6 winsup.exp --- winsup.exp 2001/09/13 19:00:48 1.6 +++ winsup.exp 2001/10/07 15:18:00 @@ -7,12 +7,13 @@ if { ! [isnative] } { } set rv "" -set add_includes "" -set add_libs "" set ltp_includes "-I$ltp_includes" set ltp_libs "$rootme/libltp.a" +set add_includes $ltp_includes +set add_libs $ltp_libs + set test_filter "" if { [info exists env(CYGWIN_TESTSUITE_TESTS)] } { @@ -45,11 +46,6 @@ foreach src [glob -nocomplain $srcdir/$s } else { set xfail_expected 0 clear_xfail - } - - if { [regexp "^ltp/" $testcase ] } { - set add_includes $ltp_includes - set add_libs $ltp_libs } ws_spawn "$CC -g3 $CFLAGS $src $add_includes $add_libs $runtime_root/binmode.o $runtime_root/new-libcygwin.a -o $base.exe" Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc.