macaw/macaw-aarch32/tests/TestMain.hs
Tristan Ravitch 1fa9b86b26 Rename macaw-asl to macaw-aarch32
This is more descriptive, especially since we will eventually have
macaw-aarch32 (also derived from the ASL specs)
2020-04-05 15:16:39 -07:00

19 lines
466 B
Haskell

module Main where
import ARMTests
import MismatchTests
import System.FilePath.Glob (namesMatching)
import Test.Tasty (defaultMain, testGroup)
main :: IO ()
main = do
testFiles <- namesMatching "tests/arm/*.mcw.expected"
bins <- namesMatching "tests/arm/bin/*"
badbins <- namesMatching "tests/arm/*.exe=bad"
defaultMain $ testGroup "ARMMacawTests"
[ armAsmTests testFiles
, armMismatchTests badbins
]