From: thurston Date: Tue, 14 Apr 2009 02:35:43 +0000 (+0000) Subject: A couple changes from Josef Goettgens. X-Git-Tag: 2.0_alpha~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0b64a3b1d615eb3733513f10119bdb9007d09a8;p=external%2Fragel.git A couple changes from Josef Goettgens. git-svn-id: http://svn.complang.org/ragel/trunk@799 052ea7fc-9027-0410-9066-f65837a77df0 --- diff --git a/test/runtests.in b/test/runtests.in index d912d55..3f48e0e 100755 --- a/test/runtests.in +++ b/test/runtests.in @@ -119,10 +119,10 @@ function run_test() exec_cmd=./$binary [ $lang = java ] && exec_cmd="java ${root}" [ $lang = ruby ] && exec_cmd="ruby ${code_src}" - [ $lang = csharp ] && exec_cmd="mono ${exec_cmd}" + [ $lang = csharp ] && [ "$csharp_compiler" = gmcs ] && exec_cmd="mono ${exec_cmd}" $exec_cmd 2>&1 > $output; - if diff $expected_out $output > /dev/null; then + if diff --strip-trailing-cr $expected_out $output > /dev/null; then echo "passed"; else echo "FAILED";