Haxl/tests/TestMain.hs
Gergely Szilvasy 19b024634b resolve test runner conflict
Summary: We use a FB-specific test runner in fbcode. As a result currently tests/Main.hs is different on github to allow 'cabal test' to pass. This diff resolves the difference by creating a common list of tests and two separate entry points for running the tests: tests/Main.hs for internal use, and tests/TestMain.hs for github. tests/Main.hs will (eventually) be excluded from the public sources.

Reviewed By: simonmar

Differential Revision: D3371609

fbshipit-source-id: 46a7382df814687230db43136acd496d0c5ebca9
2016-06-02 06:44:43 -07:00

9 lines
138 B
Haskell

{-# LANGUAGE CPP, OverloadedStrings #-}
module Main where
import Test.HUnit
import AllTests
main :: IO Counts
main = runTestTT allTests