summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>2009-04-14 02:35:43 +0000
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>2009-04-14 02:35:43 +0000
commitf0b64a3b1d615eb3733513f10119bdb9007d09a8 (patch)
tree6c21e1ca8830128640f2831caee2eb14584083e0
parent07a964b53875be80a5e9d34f71fa530e1c72076f (diff)
downloadragel-f0b64a3b1d615eb3733513f10119bdb9007d09a8.tar.gz
ragel-f0b64a3b1d615eb3733513f10119bdb9007d09a8.tar.bz2
ragel-f0b64a3b1d615eb3733513f10119bdb9007d09a8.zip
A couple changes from Josef Goettgens.
git-svn-id: http://svn.complang.org/ragel/trunk@799 052ea7fc-9027-0410-9066-f65837a77df0
-rwxr-xr-xtest/runtests.in4
1 files changed, 2 insertions, 2 deletions
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";