mirror of
https://github.com/facebook/Haxl.git
synced 2024-12-26 10:14:07 +03:00
19b024634b
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
9 lines
138 B
Haskell
9 lines
138 B
Haskell
{-# LANGUAGE CPP, OverloadedStrings #-}
|
|
module Main where
|
|
|
|
import Test.HUnit
|
|
import AllTests
|
|
|
|
main :: IO Counts
|
|
main = runTestTT allTests
|