aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Drop GHC 7.8 supportDaniel Gröber2018-10-271-20/+21
| | | | | | | | | Unfortunately we need process-1.2.3.0 for 'readCreateProcess' replacing it for 7.8 is just too much effort. For testing's sake GHC 7.10 can still build Cabal-1.18.* but not 1.20, seems to just need a hackage revision though. Just disable 1.20 for now. I don't think anyone really still uses that.
* Drop GHC<7.8 supportDaniel Gröber2018-10-261-9/+2
|
* Remove wrapper, integrate functionality into the libraryDaniel Gröber2018-08-261-9/+14
| | | | | | | | | | | | The use of a wrapper executable to compile the real helper was a design mistake originally intended to isolate the calling application from a dependency on the Cabal library completely. This isolation turned out to be rather tedious and thus was ignored soon, the wrapper remained though. Due to the way cabal-install installs components of a package into seperate install trees when using new-install finding the wrapper exe reliably has become pretty much impossible without huge effort. Hence we remove it and integrate the functionality into the library instead.
* ghc-session: Fix `cabal sdist` warningDaniel Gröber2018-06-171-1/+1
|
* compile-test: Add list-version command to list Cabal versionsDaniel Gröber2018-06-171-72/+80
|
* Drop Cabal<2.0 compiletime supportDaniel Gröber2018-06-161-27/+20
| | | | | We still support <2.0 at runtime this only concerns the Cabal version used at cabal-install time.
* compile-test: Add Cabal versions for GHC 8.4Daniel Gröber2018-04-161-0/+3
|
* Revert hsSourceDirs hackery (#43)Alan Zimmerman2018-01-291-1/+13
| | | Move hack to GhcSession test for now, the corresponding logic should be moved into c-h instead of living in ghc-mod instead.
* Refactor 'compileHelper' to cache helper in all casesDaniel Gröber2018-01-181-5/+8
|
* Fix and refactor CH.C.CompileDaniel Gröber2018-01-181-9/+39
| | | | ..compilation outputs were landing in CWD
* compile-test: Add Cabal-2.0.{1.0,1.1}Daniel Gröber2018-01-181-0/+2
|
* Refactor to introduce Cabal version typeDaniel Gröber2018-01-181-10/+10
|
* ghc-session: Factor out CPPDaniel Gröber2018-01-181-5/+7
|
* When a component uses an internal backpack module, use cabal optsAlan Zimmerman2018-01-181-6/+2
| | | | Which includes inserting the inplace directory for package includes
* WIP on addressing review issuesAlan Zimmerman2018-01-181-4/+2
| | | | | Still need clarity on best way of adding the local package db when it is needed and exists.
* Clean upAlan Zimmerman2018-01-181-10/+5
|
* Remove extraneous importsAlan Zimmerman2018-01-181-10/+0
|
* Tests pass for backpackAlan Zimmerman2018-01-181-0/+11
|
* Progress on when to build and when notAlan Zimmerman2018-01-181-28/+37
|
* Bring in needsBuildOuput query, for indefinite modulesAlan Zimmerman2018-01-181-23/+30
|
* WIP on backpack supportAlan Zimmerman2018-01-181-9/+23
|
* Saner way to merge entrypointsAlan Zimmerman2018-01-181-1/+1
|
* ghc-session: Add backpack test projectDaniel Gröber2018-01-189-0/+112
|
* ghc-session: Make tests fail on warningsDaniel Gröber2018-01-181-2/+5
|
* ghc-session: Add flib testDaniel Gröber2018-01-185-0/+35
|
* ghc-session: Add test-suite and benchmark testsDaniel Gröber2018-01-182-2/+22
|
* Revert indentationAlan Zimmerman2018-01-181-30/+30
|
* Remove commented out codeAlan Zimmerman2018-01-181-5/+0
|
* Update as per @DanielG commentsAlan Zimmerman2018-01-181-28/+28
|
* Try to fix GHC 7.4 buildAlan Zimmerman2018-01-181-2/+4
|
* Use defaultLogAction for GHC 7.4Alan Zimmerman2018-01-181-0/+4
|
* Disambiguate liftIO for GHC 7.4Alan Zimmerman2018-01-181-0/+4
|
* Bring MonadIO Ghc into scope for GHC 7.4Alan Zimmerman2018-01-181-29/+37
|
* Cleaning upAlan Zimmerman2018-01-181-13/+3
|
* WIP on getting projects to build with Cabal 2.0/GHC 8.2Alan Zimmerman2018-01-183-3/+14
|
* Add a test which brings up a GHC sessionDaniel Gröber2018-01-1811-1/+211
|
* compile-test: Add GHC 8.2.2 to Cabal version tableDaniel Gröber2017-12-021-1/+6
|
* Fix windows build using unix-compatVladislav Shtepin2017-11-071-2/+1
|
* Fix compilation-test for GHC 7.4Daniel Gröber2017-09-261-1/+1
|
* tests: Handle errors when installing Cabal and continueDaniel Gröber2017-09-251-3/+10
|
* tests: Use showVersion for 'Version' typeDaniel Gröber2017-09-251-2/+3
|
* tests: Bump Cabal bound to 2.0 for 8.2Daniel Gröber2017-09-251-1/+1
|
* 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-11/+10
| | | | | | | | | | | | | | 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
* spec: Add GHC 8.2.1, Cabal 2.0.0.2Daniel Gröber2017-08-201-0/+2
|