Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 runtest.pl fails to parse all_tests.lst on Linux

closed-fixed
nobody
None
5
2007-06-14
2007-06-14
Rony Shapiro
No

Trying to run
$ perl ./runtest.pl --platform=x86-linux-gcc --configuration=debug --linkage=static all_tests.lst

Results in:
Testing static debug library for x86-linux-gcc
does not exist
does not existreams
does not existn/Streams
does not existimeZone
does not exist/Streams
does not exist
does not existance
does not existyInteger
does not existcation
does not exists
does not exist
does not existild
does not existdirect
does not existticalSection
does not existticalSectionLock
does not existex
does not existexLock
does not existaphore
does not existaphoreLock
does not exist
0 tests executed, 0 failed

Environment:
$ uname -a
Linux box2 2.6.18.6 #2 SMP PREEMPT Tue Dec 26 12:21:22 IST 2006 i686 GNU/Linux
$perl --version
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi

The problem was due to the fact that all_test.lst has DOS line endings. Running all_test.lst through dos2unix fixed the issue as a workaround.

Discussion

  • Logged In: YES
    user_id=1152376
    Originator: NO

    Fix checked in; the runtest.pl script will now correctly chop off Windows line ends on Linux. Will be part of 0.10 distribution.

     
    • status: open --> closed-fixed