Commit Graph

199 Commits

Author SHA1 Message Date
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
Daniel Gröber
4aa75818d8 Fix tests 2015-08-31 08:32:31 +02:00
Daniel Gröber
18a8c67d39 Take sandbox cfg into account for caches 2015-08-19 09:18:10 +02:00
Daniel Gröber
78bdf86a95 Fix all the stack related things 2015-08-19 09:17:41 +02:00
scturtle
cbb8feb0ad Add test project in cabal file 2015-08-19 09:17:30 +02:00
scturtle
ba13688413 Tell travis to download stack binary file 2015-08-19 09:17:12 +02:00
scturtle
89c3faea05 Initilize test for stack project 2015-08-19 09:17:11 +02:00
Daniel Gröber
e360f7eb44 Fix older GHCs 2015-08-19 09:05:57 +02:00
Daniel Gröber
50ab2091d6 Add missing test files 2015-08-19 07:02:57 +02:00
Daniel Gröber
bb3a948912 Fix over-qualified error messages (Fix #551) 2015-08-18 09:26:53 +02:00
Daniel Gröber
f1191a419e Fix some warnings 2015-08-17 07:03:32 +02:00
Nikolay Yakimov
a5dae2a82d Drop memory-mapped files, since ghc doesn't play well with those
All files are now "redirected", either user-created, or created by ghc-mod itself.
2015-08-16 23:20:00 +03:00
Nikolay Yakimov
20d6d4bae7 Disable lhs MemoryMapped test for now 2015-08-16 19:15:32 +03:00
Nikolay Yakimov
9a22662031 Update in-memory preprocessing check spec 2015-08-16 18:49:48 +03:00
Nikolay Yakimov
70d2a4704b Tests for TH, LHS and CPP with FileMapping 2015-08-16 17:36:10 +03:00
Nikolay Yakimov
c96abfc422 Drop loadMappedFiles and move all loading code to progMain 2015-08-15 21:18:57 +03:00
Nikolay Yakimov
c2ff5be4ea Better test for redirected check
Output now doesn't depend on compiler version
2015-08-15 21:07:35 +03:00
Nikolay Yakimov
0ad438461b Fix mistake in test file
Should be `module File`, since it's used as a redirection.
2015-08-15 21:07:35 +03:00
Nikolay Yakimov
eb28035753 Some file mapping tests 2015-08-15 21:07:35 +03:00
Daniel Gröber
585a9ef425 Fix doc in non-cabal projects
..man those non-cabal projects are really getting me down. Who uses
those anwayways ;)
2015-08-14 10:30:42 +02:00
Daniel Gröber
6248372477 Fix tests for 7.10 2015-08-14 09:50:20 +02:00
Daniel Gröber
5318db06f7 Fix cabal-helper tests 2015-08-12 10:44:36 +02:00
Daniel Gröber
11243e5304 Add in-memory caching otherwise everything is slow 2015-08-11 07:38:25 +02:00
Daniel Gröber
36c4253135 Desugar warnings don't work before ghc 7.8 2015-08-10 08:15:34 +02:00
Daniel Gröber
c4d534ba1c Make sure preprocessed module are on the module path 2015-08-10 06:44:35 +02:00
Daniel Gröber
5b30fdde29 Remove version bounds from test cabal files 2015-08-10 03:57:47 +02:00
Daniel Gröber
8439f12cb0 Let Cabal determine the package-db stack 2015-08-07 07:31:08 +02:00
Daniel Gröber
f85327a1b6 Re-enable cabal-helper tests 2015-08-07 04:42:09 +02:00
Daniel Gröber
9dc7a9375e Fix resolveModule test again 2015-08-07 04:42:09 +02:00
Daniel Gröber
2c9b79449a Add missing test data to extra-source-files 2015-08-06 04:22:51 +02:00
Daniel Gröber
aabbd5ce33 Fix resolveModule Cpp test 2015-08-05 10:16:54 +02:00
Daniel Gröber
6e28e07ca9 Fix #507 2015-08-05 08:01:25 +02:00
Daniel Gröber
1a53582a21 Add failing test for missing warnings #507 2015-08-05 08:01:23 +02:00
Daniel Gröber
42e72b3816 Fix fileModuleName not working on CPP modules given by path 2015-08-03 05:46:51 +02:00
Sergey Vinokurov
7b6eb55b11 Transform ModuleString and Expression type synonyms into newtypes 2015-06-02 10:43:29 +03:00
Sergey Vinokurov
73b98573f4 Remove unused extractParens function and its tests 2015-06-02 10:43:29 +03:00