[
https://issues.apache.org/jira/browse/THRIFT-918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Lavoie updated THRIFT-918:
------------------------------------
Attachment: v2-thrift-fix-haskell-tests.patch
This allows the haskell tests to run:
{noformat}
# In a terminal
cd $THRIFT/test/hs
sh runserver.hs ThriftTest
# In another terminal
cd $THRIFT/test/hs
sh runclient.hs ThriftTest
{noformat}
And
{noformat}
# In a terminal
cd $THRIFT/test/hs
sh runserver.hs ConstantsDemo
# In another terminal
cd $THRIFT/test/hs
sh runclient.hs ConstantsDemo
{noformat}
Apparently I'm the only one using ConstantsDemo by now, so I've taken out the
two bits that failed to run through the thrift compiler.
> 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
> Fix For: 0.5
>
> Attachments: v1-thrift-fix-haskell-tests.patch,
> v2-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.