lib, cli: disable hledger-lib test suites, hledger benchmark suite
by default. hledger-lib's doctests and easytests test suites (each ?) require an additional slow rebuild of hledger-lib and are not worth the time, energy and carbon. hledger's test suite runs those same easytest tests (but not the doctests).
This commit is contained in:
		
							parent
							
								
									180f4baedb
								
							
						
					
					
						commit
						977d4f009e
					
				| @ -4,7 +4,7 @@ cabal-version: 1.12 | |||||||
| -- | -- | ||||||
| -- see: https://github.com/sol/hpack | -- see: https://github.com/sol/hpack | ||||||
| -- | -- | ||||||
| -- hash: 5800a813057af070936e23a2a043e79ba8d5eadb30d8d9d8953b87b0599c4d23 | -- hash: 1a86e1ea033680b16a056d843fda4101e7e6c06babcc6118bffb79e0042d17a7 | ||||||
| 
 | 
 | ||||||
| name:           hledger-lib | name:           hledger-lib | ||||||
| version:        1.15.99 | version:        1.15.99 | ||||||
| @ -247,6 +247,7 @@ test-suite doctests | |||||||
|     , transformers >=0.2 |     , transformers >=0.2 | ||||||
|     , uglymemo |     , uglymemo | ||||||
|     , utf8-string >=0.3.5 |     , utf8-string >=0.3.5 | ||||||
|  |   buildable: False | ||||||
|   if (!impl(ghc >= 8.0)) |   if (!impl(ghc >= 8.0)) | ||||||
|     build-depends: |     build-depends: | ||||||
|         semigroups ==0.18.* |         semigroups ==0.18.* | ||||||
| @ -353,6 +354,7 @@ test-suite easytests | |||||||
|     , transformers >=0.2 |     , transformers >=0.2 | ||||||
|     , uglymemo |     , uglymemo | ||||||
|     , utf8-string >=0.3.5 |     , utf8-string >=0.3.5 | ||||||
|  |   buildable: False | ||||||
|   if (!impl(ghc >= 8.0)) |   if (!impl(ghc >= 8.0)) | ||||||
|     build-depends: |     build-depends: | ||||||
|         semigroups ==0.18.* |         semigroups ==0.18.* | ||||||
|  | |||||||
| @ -156,7 +156,11 @@ library: | |||||||
| 
 | 
 | ||||||
| tests: | tests: | ||||||
| 
 | 
 | ||||||
|  |   # 201909: disabled these by default. They (each ?) require a slow rebuild  | ||||||
|  |   # of hledger-lib and are not worth the time, energy and carbon. | ||||||
|  | 
 | ||||||
|   doctests: |   doctests: | ||||||
|  |     buildable: false | ||||||
|     source-dirs: test |     source-dirs: test | ||||||
|     main: doctests.hs |     main: doctests.hs | ||||||
|     dependencies: |     dependencies: | ||||||
| @ -185,6 +189,7 @@ tests: | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|   easytests: |   easytests: | ||||||
|  |     buildable: false | ||||||
|     source-dirs: test |     source-dirs: test | ||||||
|     main: easytests.hs |     main: easytests.hs | ||||||
|     dependencies: |     dependencies: | ||||||
|  | |||||||
| @ -4,7 +4,7 @@ cabal-version: 1.12 | |||||||
| -- | -- | ||||||
| -- see: https://github.com/sol/hpack | -- see: https://github.com/sol/hpack | ||||||
| -- | -- | ||||||
| -- hash: b864d03deb10457bee840db359d886fab19a33d56e673afa900265f845d17618 | -- hash: bd203b8004a809390f7eb686721bee2a5d48e606a0aa25a873aaf2e133aada80 | ||||||
| 
 | 
 | ||||||
| name:           hledger | name:           hledger | ||||||
| version:        1.15.99 | version:        1.15.99 | ||||||
| @ -344,6 +344,7 @@ benchmark bench | |||||||
|     , utf8-string >=0.3.5 |     , utf8-string >=0.3.5 | ||||||
|     , utility-ht >=0.0.13 |     , utility-ht >=0.0.13 | ||||||
|     , wizards >=1.0 |     , wizards >=1.0 | ||||||
|  |   buildable: False | ||||||
|   if (!(os(windows))) && (flag(terminfo)) |   if (!(os(windows))) && (flag(terminfo)) | ||||||
|     build-depends: |     build-depends: | ||||||
|         terminfo |         terminfo | ||||||
|  | |||||||
| @ -214,6 +214,7 @@ tests: | |||||||
| 
 | 
 | ||||||
| benchmarks: | benchmarks: | ||||||
|   bench: |   bench: | ||||||
|  |     buildable: false | ||||||
|     source-dirs: bench |     source-dirs: bench | ||||||
|     main: bench.hs |     main: bench.hs | ||||||
|     dependencies: |     dependencies: | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user