Skip to content

Commit 0122cf2

Browse files
authored
Merge pull request #4997 from phadej/custom-setup-tests
Add cabal-doctest and idris Setup.hs as smoke tests for BC
2 parents 552ae22 + ceae863 commit 0122cf2

File tree

7 files changed

+912
-23
lines changed

7 files changed

+912
-23
lines changed

Cabal/Cabal.cabal

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extra-source-files:
2929
doc/intro.rst doc/misc.rst doc/nix-local-build-overview.rst
3030
doc/nix-local-build.rst doc/README.md doc/references.inc
3131

32-
-- Generated with 'misc/gen-extra-source-files.sh'
32+
-- Generated with 'make gen-extra-source-files'
3333
-- Do NOT edit this section manually; instead, run the script.
3434
-- BEGIN gen-extra-source-files
3535
tests/ParserTests/errors/common1.cabal
@@ -483,6 +483,21 @@ test-suite check-tests
483483
ghc-options: -Wall
484484
default-language: Haskell2010
485485

486+
test-suite custom-setup-tests
487+
type: exitcode-stdio-1.0
488+
hs-source-dirs: tests/custom-setup
489+
main-is: CustomSetupTests.hs
490+
other-modules:
491+
CabalDoctestSetup
492+
IdrisSetup
493+
build-depends:
494+
Cabal,
495+
base,
496+
directory,
497+
filepath,
498+
process
499+
default-language: Haskell2010
500+
486501
test-suite parser-hackage-tests
487502
type: exitcode-stdio-1.0
488503
main-is: ParserHackageTests.hs

0 commit comments

Comments
 (0)