[ https://issues.apache.org/jira/browse/THRIFT-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Lavoie updated THRIFT-932: ------------------------------------ Attachment: v1-simplify-haskell-tests.hs out This fix a few annoyances with the current tests: # Two scripts to run to run the tests # The server bits are left running and need to be Ctrl-C'ed # Specifying where to find the {{thrift}} binary THRIFT_BIN is needed (or the code needs to be compiled and installed first, so that it's in your path) After this patch, tests can be run thusly: {noformat} $ for TEST in ConstantsDemo DebugProtoTest ThriftTest ; do echo -------------------------------- $TEST -------------------------------- ; ./run-test.sh $TEST; done >& out {noformat} See 'out' file for a sample output; not pretty, but works. This could be committed as is (I could even be convinced it's good enough for 0.5), but is NOT enough to fix this bug. > Haskell tests need to be run through 'make check' (and probably 'cabal > check') too > ---------------------------------------------------------------------------------- > > Key: THRIFT-932 > URL: https://issues.apache.org/jira/browse/THRIFT-932 > Project: Thrift > Issue Type: Bug > Components: Haskell - Library > Affects Versions: 0.6 > Environment: Mac OS X 10.6, latest haskell platform, ghc 6.12.3 > 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.6 > > Attachments: out, v1-simplify-haskell-tests.hs > > > Currently Haskell tests are run through an annoying pair of shell scripts, > and leave the server running after being executed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.