macaw/macaw-ppc/tests/Main.hs

17 lines
449 B
Haskell
Raw Normal View History

module Main ( main ) where
2017-10-25 02:36:36 +03:00
import System.FilePath.Glob ( namesMatching )
import qualified Test.Tasty as T
2017-10-28 00:29:04 +03:00
import qualified PPC64Tests as PPC64
import qualified PPC64InstructionCoverage as PPC64
2017-10-25 02:36:36 +03:00
main :: IO ()
main = do
testFiles <- namesMatching "tests/ppc/*.s.expected"
bins <- namesMatching "tests/ppc/bin/*"
2017-10-25 02:36:36 +03:00
T.defaultMain $ T.testGroup "PPCMacawTests" [
PPC64.ppcAsmTests testFiles,
PPC64.ppc64InstructionCoverageTests bins
2017-10-25 02:36:36 +03:00
]