bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

failed tests in Solaris 10 build of GNU grep


From: J.D. Baldwin
Subject: failed tests in Solaris 10 build of GNU grep
Date: Thu, 5 Mar 2009 14:24:26 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

Many tests in the GNU grep test suite failed in a Solaris 10 build.  I
think grep itself is working okay, but the tests themselves may be
mis-constructed.

I am building grep 2.5.4 with options:

   $ ./configure --prefix=/opt/gnu --with-libiconv-prefix=/opt/gnu 
--with-included-getopt
   $ gmake --version
   GNU Make 3.81
   $ gcc --version
   gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
   $ glib-config --version
   1.2.10
   $ uname -a
   SunOS hnamehere 5.10 Generic_138889-03 i86pc i386 i86pc

The make runs without any real problems, except that I had to add -lcurses to 
LIBS
in the Makefile.

The full output of 'gmake check' is attached at gmake_test_results.txt.  
However, 
each test result seems actually to work when I do it by hand.  For example:

Testing:  ../src/grep w. -o -b
  input:  "XwA YwB/ZwC/"
  output: "4:wA/8:wB/12:wC/"
  expect: "1:wA/5:wB/9:wC/"
FAIL

... but if I do it by hand:

   $ echo "XwA YwB/ZwC/" | ./src/grep w. -o -b
   1:wA
   5:wB
   9:wC

which is what is expected.

Hope this is helpful to you.

jd

Attachment: gmake_test_results.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]