Daniel Gröber
e2490a1cf0
Fix tests for ghc-7.6
2017-05-22 01:02:56 +02:00
Daniel Gröber
dc0a161925
Reorganize shared modules
2017-05-21 23:58:43 +02:00
Daniel Gröber
2135ff438d
Change slogan
2017-03-07 00:25:46 +01:00
Daniel Gröber
53df9d228f
Fix CabalHelper tests
2017-03-01 08:20:19 +01:00
Daniel Gröber
8680b3f7d1
Make sure tests can't be forgotten in cabal file
...
some *Spec.hs files weren't landing in the sdist since they werent
listed in other-modules and since we use hspec-discover no one ever
noticed.
2017-03-01 03:26:37 +01:00
Daniel Gröber
ee55da4908
Prepare for splitting off ghc-mod-core eventually
2017-01-12 17:05:47 +01:00
Nikolay Yakimov
01adcff875
[Test] Write stack.yaml directly instead of stack init
2016-08-29 00:11:08 +03:00
Nikolay Yakimov
8352b0207c
[Test] Only git-clean ignored files
2016-08-28 23:59:55 +03:00
Nikolay Yakimov
f8acb77e6b
[Test] Use git to clean test/data/
2016-08-28 23:33:40 +03:00
Nikolay Yakimov
05d87f4175
[Test] Stack: use ghc-* resolver based on ghc version
2016-08-28 23:27:39 +03:00
Nikolay Yakimov
225e298977
Remove stack.yaml from test stack project
2016-08-28 23:16:35 +03:00
Nikolay Yakimov
e8f42af74b
Let doctests accept actual distdir from env
2016-08-09 15:06:24 +03:00
Nikolay Yakimov
4d4a9d048b
Don't try to unsetEnv on ghc-7.6
2016-08-03 14:31:03 +03:00
Nikolay Yakimov
6496b641c9
Fix stack test
the easy way
2016-08-03 14:15:03 +03:00
Daniel Gröber
01e3b8e3d6
Fix session caching, #807
...
also:
- cleanup LightGhc
- make the new DynFlags to compare against in a clean HscEnv
2016-07-16 03:45:43 +02:00
Nikolay Yakimov
1a302707b3
Fix case-split spec for 706
2016-07-10 17:46:53 +03:00
Nikolay Yakimov
0e788e295c
Fix case-split test failures on GHC 7.6 and 7.8
2016-07-10 17:04:15 +03:00
Daniel Gröber
31e3c0b500
Housekeeping for GHC 8
...
- Remove some CPP needed only because of GHC 7.4 (which is not supported
now, yey)
- Move CPP for GHC 8 to Gap module
2016-05-22 03:47:07 +02:00
Nikolay Yakimov
97dbcef96d
Merge branch 'case-split-crash-test' into release-5.6.0.0
2016-05-15 03:43:55 +03:00
Daniel Gröber
f994893c58
Merge branch 'type-constraints' of https://github.com/atom-haskell/ghc-mod into release-5.6.0.0
2016-05-14 21:35:21 +02:00
Daniel Gröber
e495c55a8d
Use existence of cabal/stack as cradle indicator
...
Also add some more "info" logging for which cradle was picked.
2016-05-14 20:18:06 +02:00
Nikolay Yakimov
8e2c6fd083
Testcase for case-split crash
2016-03-15 23:33:28 +03:00
Nikolay Yakimov
1c668f20ba
[Tests] HLint changed some Errors to Warnings
2016-02-09 12:51:28 +03:00
Nikolay Yakimov
c117ed3b52
[Type-constraints] Some tests
2016-01-20 01:42:21 +03:00
Daniel Gröber
345bd92d21
Make runGhcModT thread lock test more reliable
...
it was failing reproducibly with `cabal test --show-details=streaming`
2016-01-19 21:01:25 +01:00
Daniel Gröber
566dbebe29
Merge release-5.5.0.0 into master (using imerge)
2016-01-17 21:03:28 +01:00
Daniel Gröber
363aa10fcd
Fix GHC<7.10
2016-01-10 00:25:02 +01:00
Nikolay Yakimov
b9c796421f
Silence GHC>=7.10 warning
2016-01-09 17:19:00 +03:00
Nikolay Yakimov
da1c1bebb2
Use stdout pipe instead of temp.files in Find
2016-01-05 13:44:17 +03:00
Daniel Gröber
7bbaa35f56
Reinstate cwd setup, this time with locking
2016-01-04 20:15:55 +01:00
Nikolay Yakimov
9f5dc6dc3c
[Shell-escape] Add empty input string test
2015-12-30 21:18:57 +03:00
Nikolay Yakimov
849496c047
[Shell-escape] 'ascii-escape ' prefix toggle
2015-12-30 21:11:39 +03:00
Nikolay Yakimov
d49d4cf2ea
[Shell-escape] Escape toggle with \ prefix
...
E.g.
check file.hs
will treat quote characters as literal characters, while
\check file.hs
will assume quoting behavior
Backslash will be dropped, naturally.
2015-12-30 20:46:06 +03:00
Nikolay Yakimov
fff9087ff7
[Shell-Parse] Use \STX and \ETX for quoting
...
Also drops escaping
2015-12-27 02:45:20 +03:00
Nikolay Yakimov
c3cf416097
Rename module ShellEscape → ShellParse
2015-12-20 08:26:49 +03:00
Nikolay Yakimov
06be93bb89
Drop support for single quotes in interactive mode
2015-12-20 07:01:46 +03:00
Nikolay Yakimov
feae07da5b
Shell-like syntax for interactive mode
2015-12-20 06:05:43 +03:00
Nikolay Yakimov
b2fb54a356
Fix tests, move option records to Types module
2015-12-06 00:56:19 +03:00
Nicolas Rolland
e1d2de96c8
fixing tests for logging
2015-11-27 11:15:25 +01:00
Daniel Gröber
16c69b2743
Disable stack support for ghc <7.8
2015-11-26 19:21:15 +01:00
Daniel Gröber
19b3de3569
Preserve cabal flags when reconfiguring project
2015-09-24 05:27:20 +02:00
Nikolay Yakimov
21c4010010
Test for file map logging when temp dir is proj. root subdir
2015-09-24 03:20:07 +02:00
Daniel Gröber
6f0eb46db9
Add a manual testcase for the "not interpreted" issue
2015-09-18 04:59:42 +02:00
Daniel Gröber
0aa3655e08
Fix tests
2015-09-14 10:12:01 +02:00
Daniel Gröber
ba14e1790c
Fix tests
2015-09-14 05:59:38 +02:00
Daniel Gröber
8413f0a1fe
Fix tests
2015-09-10 07:57:29 +02:00
Daniel Gröber
dbf215a35b
Fix tests, this time, this time for sure.
2015-09-08 06:42:32 +02:00
Daniel Gröber
7ae22a9226
Fix tests
2015-09-08 06:20:12 +02:00
Daniel Gröber
41de8b8b2e
Sandwich new Monad layer GmOutT into transformer stack
...
This way we can have access to some options pre Cradle setup which
should fix the output interleaving problems I was observing.
2015-09-01 10:32:27 +02:00
Daniel Gröber
899d583549
error
-> throw $ GMEProcess
2015-09-01 10:27:41 +02:00