aboutsummaryrefslogtreecommitdiff
path: root/tests/GhcSession.hs
Commit message (Collapse)AuthorAgeFilesLines
* ghc-session: Output test specs of tests being runDaniel Gröber2019-09-171-2/+18
| | | | | The strings under the "Going to Run These Tests" heading can be plugged right back into the commandline to run just that test.
* ghc-session: Add GHC version match checkDaniel Gröber2019-09-171-1/+6
|
* Split SProjType along build-tool lineDaniel Gröber2019-09-171-4/+4
| | | | | | | This makes it much easier to deal with differences between the build tools as we can now have functions that only make sense for Cabal and statically enforce this by passing a 'SCabalProjType pt' as evidence that $pt \in {V1, V2}$.
* Support cabal-file not being in pkgdir with cabal-v1Daniel Gröber2019-09-171-1/+1
|
* ghc-session: Allow overriding programs on commandlineDaniel Gröber2019-09-171-57/+104
|
* ghc-session: Improve test output consistencyDaniel Gröber2019-06-191-29/+61
|
* ghc-session: Simplify Cabal version checkingDaniel Gröber2019-06-191-12/+12
|
* ci: Move stack resolver table to a fileDaniel Gröber2019-06-191-12/+5
|
* Add ProjLocV1Dir for easier forward portingDaniel Gröber2019-04-011-1/+1
|
* Promote 'Ex' to exported APIDaniel Gröber2019-03-311-2/+0
| | | | We will need it for the project discovery module later.
* Add accessor for ChModuleName newtypeDaniel Gröber2019-03-291-3/+0
|
* Some helper compilation test coverage commentsDaniel Gröber2019-02-111-0/+4
| | | | [ci skip]
* ghc-session: Get correct builtin Cabal version per proj-typeDaniel Gröber2019-02-111-48/+89
|
* Add log-level to verbosity conditionalDaniel Gröber2019-01-301-2/+2
|
* ghc-session: Run V2 tests first to get faster build timesDaniel Gröber2019-01-261-3/+3
| | | | | | We cache the produced helper exe without regard to which proj-type produced it, so this way we avoid building the helper exe (and it's dependencies) with cabal v1-build which doesn't cache across CI builds.
* Update stack_resolver_tableDaniel Gröber2019-01-261-8/+11
|
* Add support and test coverage for mulit-pkg projectsDaniel Gröber2019-01-261-128/+324
|
* Add descriptions to the testsDaniel Gröber2019-01-221-0/+5
|
* ghc-session: Refactor in preparation for Stack testsDaniel Gröber2019-01-221-43/+54
|
* Allow v2-build projects to not have a cabal.project fileDaniel Gröber2019-01-221-4/+0
|
* Run tests against both old and new build configurationsAlan Zimmerman2019-01-221-16/+83
|
* Add some commentsDaniel Gröber2018-10-271-2/+3
|
* Refactor Unit handlingDaniel Gröber2018-10-271-14/+18
|
* Add 'allUnits' convenience queryDaniel Gröber2018-10-271-5/+1
|
* tests: Ignore `cabal sdist` warningsDaniel Gröber2018-10-271-1/+1
|
* Start refactoring to support cabal v2-buildDaniel Gröber2018-10-271-10/+14
|
* 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.
* 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.
* 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-181-0/+1
|
* ghc-session: Make tests fail on warningsDaniel Gröber2018-01-181-2/+5
|
* ghc-session: Add flib testDaniel Gröber2018-01-181-0/+1
|
* 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-181-3/+13
|