Haxl/tests/AllTests.hs
Jonathan Coens 2fa7cc30f5 Change HAVE_APPLICATIVEDO check to GHC version check
Reviewed By: simonmar

Differential Revision: D5201670

fbshipit-source-id: 113ef66073e1836fa572ef3fceeb82adc87f253b
2017-06-07 13:27:41 -07:00

34 lines
859 B
Haskell

{-# LANGUAGE CPP, OverloadedStrings #-}
module AllTests (allTests) where
import TestExampleDataSource
import BatchTests
import CoreTests
import DataCacheTest
#if __GLASGOW_HASKELL__ >= 801
import AdoTests
#endif
#if __GLASGOW_HASKELL__ >= 710
import ProfileTests
#endif
import MemoizationTests
import TestBadDataSource
import Test.HUnit
allTests :: Test
allTests = TestList
[ TestLabel "ExampleDataSource" TestExampleDataSource.tests
, TestLabel "BatchTests" BatchTests.tests
, TestLabel "CoreTests" CoreTests.tests
, TestLabel "DataCacheTests" DataCacheTest.tests
#if __GLASGOW_HASKELL__ >= 801
, TestLabel "AdoTests" AdoTests.tests
#endif
#if __GLASGOW_HASKELL__ >= 710
, TestLabel "ProfileTests" ProfileTests.tests
#endif
, TestLabel "MemoizationTests" MemoizationTests.tests
, TestLabel "BadDataSourceTests" TestBadDataSource.tests
]