aboutsummaryrefslogtreecommitdiff
path: root/tests/CompileTest.hs
Commit message (Collapse)AuthorAgeFilesLines
* Add support for running Cabal's Setup.hs directlyDaniel Gröber2017-09-251-22/+8
| | | | | | | | cabal-install 1.24 broke installing older Cabal versions which use build-type:custom. See https://github.com/haskell/cabal/pull/4787. This still breaks with HEAD on GHC<8. See https://github.com/haskell/cabal/pull/4786.
* Remove 'Options' from shared Types moduleDaniel Gröber2017-09-251-1/+1
| | | | Only needed at compiletime, were being hidden everywhere else already.
* tests: Remove reference to ./distDaniel Gröber2017-09-251-2/+2
| | | | | The 'distdir' argument to 'compile' is only relevant for the Cabal source dir case.
* tests: Remove cleaning of cache dirDaniel Gröber2017-09-251-2/+0
| | | | | .. mostly because the paths are wrong now but I also think keeping these dirty across the tests simulates the users environment better.
* tests: Remove testing of library -- only compileDaniel Gröber2017-09-251-3/+0
|
* Remove 'extra' dependencyDaniel Gröber2017-09-191-1/+1
| | | | ..constrains dependency versions too much and just causes failures.
* Fix literally everything :)Daniel Gröber2017-09-181-0/+155
Sorry for the megacommit - Seperate modules into: - Compiletime, modules which are only used while building the package - Runtime, modues included in the wrapper binary to be compiled on the users machine at runtime - Shared, modues used in both contexts - Refactor runtime compilation - Completely revamp output paths - Don't chdir when invoking ghc - Require cabal-version 1.14 in cabal file