[LFS Trac] #2166: Flex-2.5.34 Test Suite

LFS Trac trac at linuxfromscratch.org
Mon Mar 31 05:37:49 PDT 2008


#2166: Flex-2.5.34 Test Suite
----------------------------------------+-----------------------------------
 Reporter:  randy at linuxfromscratch.org  |       Owner:  lfs-book at linuxfromscratch.org
     Type:  defect                      |      Status:  new                          
 Priority:  normal                      |   Milestone:  7.0                          
Component:  Book                        |     Version:  SVN                          
 Severity:  normal                      |    Keywords:                               
----------------------------------------+-----------------------------------
 I find it odd that the Development books says this:

 "The testsuite in this version of Flex does nothing
 useful before it ends with an error."

 In fact, it clearly states at the end of the tests
 that 44 of 46 tests passed, and it identifies the 2
 that do not pass.

 Here are a couple of trivial sed commands to fix the
 input files for the tests that fail so that the test
 suite will "do something useful". :-)

 sed -i '55 s|^    ||' tests/test-pthread/scanner.l

 sed -i -e '1 i/*' -e '21 i*/' tests/test-c++-multiple-
 scanners/scanner-{1,2}.l

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2166>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list