cryptol/tests/Main.hs

12 lines
330 B
Haskell
Raw Normal View History

2018-12-12 03:30:02 +03:00
module Main(main) where
2014-04-18 02:34:25 +04:00
2018-12-12 03:30:02 +03:00
import System.FilePath(takeExtension)
import TestLib(mainWith,Config(..))
2014-04-18 02:34:25 +04:00
main :: IO ()
2018-12-12 03:30:02 +03:00
main = mainWith Config { cfgDefaultBinary = "cryptol"
, cfgBinOpts = \f -> ["-b",f]
, cfgIsTestCase = \f -> takeExtension f == ".icry"
}
2015-03-06 23:03:21 +03:00