THRIFT-932. hs: Haskell tests need to be run through 'make check' (and probably ...
authorBryan Duxbury <bryanduxbury@apache.org>
Wed, 6 Oct 2010 00:12:33 +0000 (00:12 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Wed, 6 Oct 2010 00:12:33 +0000 (00:12 +0000)
commitc657447e0edd882ffc6144ca81c1f1d3cccae048
tree6876346b8e65935ecee2f07d1dc93dc72f113eaa
parentffca7e17202bc045f6a5ac3489c9f6a5e3b61d4c
THRIFT-932. hs: Haskell tests need to be run through 'make check' (and probably 'cabal check') too

Tests are now self-contained and correctly exit after running. There's a single run script which has improved error messages and defaults to the thrift binary compiled in the current source directory instead of those in PATH. And as a bonus hooks both cabal check and running the tests to make check.

Patch: Christian Lavoie

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1004861 13f79535-47bb-0310-9956-ffa450edef68
16 files changed:
configure.ac
lib/hs/Makefile.am
test/Makefile.am
test/hs/ConstantsDemo_Main.hs [new file with mode: 0644]
test/hs/ConstantsDemo_TestClient.hs [deleted file]
test/hs/ConstantsDemo_TestServer.hs [deleted file]
test/hs/DebugProtoTest_Main.hs [new file with mode: 0644]
test/hs/DebugProtoTest_TestClient.hs [deleted file]
test/hs/DebugProtoTest_TestServer.hs [deleted file]
test/hs/Makefile.am [new file with mode: 0644]
test/hs/ThriftTestUtils.hs [new file with mode: 0644]
test/hs/ThriftTest_Main.hs [new file with mode: 0644]
test/hs/ThriftTest_TestClient.hs [deleted file]
test/hs/ThriftTest_TestServer.hs [deleted file]
test/hs/run-test.sh [moved from test/hs/runserver.sh with 67% similarity]
test/hs/runclient.sh [deleted file]