;lib: suppress doctest failures with GHC < 8.2
[ci skip]
This commit is contained in:
		
							parent
							
								
									6f2f8d7638
								
							
						
					
					
						commit
						a5372168bc
					
				| @ -4,7 +4,7 @@ cabal-version: 1.12 | ||||
| -- | ||||
| -- see: https://github.com/sol/hpack | ||||
| -- | ||||
| -- hash: 4cfc4e9879ec711800e91c2cfe108a99c36d80ccb81b59e1df314915e94d5523 | ||||
| -- hash: 540aab47f6186c280e13c9bcc60863d8e29fc9830886c34aa95bfc9805623dad | ||||
| 
 | ||||
| name:           hledger-lib | ||||
| version:        1.14.99 | ||||
| @ -248,6 +248,8 @@ test-suite doctests | ||||
|   if (!impl(ghc >= 8.0)) | ||||
|     build-depends: | ||||
|         semigroups ==0.18.* | ||||
|   if (impl(ghc < 8.2)) | ||||
|     buildable: False | ||||
|   default-language: Haskell2010 | ||||
| 
 | ||||
| test-suite easytests | ||||
|  | ||||
| @ -174,6 +174,16 @@ tests: | ||||
|     # - condition: os(darwin) && impl(ghc >= 8.4) | ||||
|     #   buildable: false | ||||
| 
 | ||||
|     # 201907 hard-to-debug doctest breakages | ||||
|     # ghc 7.10 on linux: | ||||
|     #  doctests: <command line>: Can't parse package flag: package-db /home/simon/.stack/snapshots/i386-linux/026d718ac4d5f70d983bbeebb712f79d402a8e7003bbfe787f9e853573ed7ed6/7.10.3/pkgdb | ||||
|     # ghc 8.0 on linux: | ||||
|     #  Hledger/Read/JournalReader.hs:126: failure in expression `rejp (journalp <* eof) "2015/1/1\n a  0\n"' ... Variable not in scope: rejp :: f0 a0 -> [Char] -> t | ||||
|     when: | ||||
|     - condition: (impl(ghc < 8.2)) | ||||
|       buildable: false | ||||
| 
 | ||||
| 
 | ||||
|   easytests: | ||||
|     main: easytests.hs | ||||
|     source-dirs: test | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user