[ 
https://issues.apache.org/jira/browse/THRIFT-918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12915448#action_12915448
 ] 

Christian Lavoie commented on THRIFT-918:
-----------------------------------------

Also, you need to pass it the name of a test to run:

{{noformat}}
THRIFT_BIN=... runserver.sh ThriftTest
{{noformat}}

And run the client from a different term:


{{noformat}}
THRIFT_BIN=... runclient.sh ThriftTest
{{noformat}}

Then kill the server, has it just runs forever.

This sucks, I know. I'll get it fixed ASAP.

> Make haskell tests run again
> ----------------------------
>
>                 Key: THRIFT-918
>                 URL: https://issues.apache.org/jira/browse/THRIFT-918
>             Project: Thrift
>          Issue Type: Bug
>          Components: Haskell - Compiler, Haskell - Library
>    Affects Versions: 0.5
>         Environment: Mac OS X 10.6 ; GHC 6.12.3 ; Haskell Platform 2010.2.0.0
> Darwin -- 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; 
> root:xnu-1504.7.4~1/RELEASE_I386 i386
> The Glorious Glasgow Haskell Compilation System, version 6.12.3
>            Reporter: Christian Lavoie
>            Assignee: Christian Lavoie
>             Fix For: 0.5
>
>         Attachments: v1-thrift-fix-haskell-tests.patch, 
> v2-thrift-fix-haskell-tests.patch, v3-thrift-fix-haskell-tests.patch, 
> v4-thrift-fix-haskell-tests.patch, v5-thrift-fix-haskell-tests.patch
>
>
> This allows the haskell tests to run:
> {noformat}
> cd $THRIFT/test/hs
> sh runserver.hs
> # In another terminal
> cd $THRIFT/test/hs
> sh runclient.hs
> {noformat}
> It's not awesome yet, but allows upstream to test both the library code and 
> the generated code from my patches. This patch also includes a few simple 
> bug/typo fixes in code I hadn't tested yet.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to