Mail Archives: cygwin-developers/2001/10/07/11:18:54

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: <>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <>
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 <vinschen AT redhat DOT com>
To: cygdev <cygwin-developers AT cygwin DOT com>
Subject: Testsuite change
Message-ID: <>
Reply-To: cygdev <cygwin-developers AT cygwin DOT com>
Mail-Followup-To: cygdev <cygwin-developers AT cygwin DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i


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
-    }
-    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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

- Raw text -

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