Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Util.Test.GenerateRunTests

Description

Collect tests from the given modules and generate a haskell module that calls the tests. Test functions are any function starting with test_ or profile_ and immediately followed by = (implying the function has no arguments). This module doesn't distinguish between tests and profiles, but they should presumably be compiled separately since they require different flags.

If a module has a function called initialize, it will be called as IO () prior to the tests.

Documentation

main :: IO () Source #