File: process-tests.cabal

package info (click to toggle)
ghc 9.10.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 168,924 kB
  • sloc: haskell: 713,548; ansic: 84,223; cpp: 30,255; javascript: 9,003; sh: 7,870; fortran: 3,527; python: 3,228; asm: 2,523; makefile: 2,326; yacc: 1,570; lisp: 532; xml: 196; perl: 111; csh: 2
file content (54 lines) | stat: -rw-r--r-- 1,530 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
cabal-version: 2.4
name:          process-tests
version:       1.6.26.1
license:       BSD-3-Clause
license-file:  LICENSE
maintainer:    libraries@haskell.org
bug-reports:   https://github.com/haskell/process/issues
synopsis:      Testing package for the process library
category:      System
build-type:    Custom
description:
    This package contains the testing infrastructure for the process library

source-repository head
  type:     git
  location: https://github.com/haskell/process.git
  subdir:   test

common process-dep
  build-depends:
    process == 1.6.26.1

custom-setup
  setup-depends:
    base      >= 4.10 && < 4.22,
    directory >= 1.1  && < 1.4,
    filepath  >= 1.2  && < 1.6,
    Cabal     >= 2.4  && < 3.14,

-- Test executable for the CommunicationHandle functionality
executable cli-child
  import: process-dep
  default-language: Haskell2010
  hs-source-dirs: cli-child
  main-is: main.hs
  build-depends: base >= 4 && < 5
               , deepseq >= 1.1 && < 1.6
  ghc-options: -threaded -rtsopts

test-suite test
  import: process-dep
  default-language: Haskell2010
  hs-source-dirs: .
  main-is: main.hs
  type: exitcode-stdio-1.0
  build-depends: base >= 4 && < 5
               , bytestring >= 0.11 && < 0.13
               , deepseq  >= 1.1 && < 1.6
               , directory >= 1.1 && < 1.4
               , filepath >= 1.2 && < 1.6
  build-tool-depends: process-tests:cli-child
  ghc-options: -threaded -rtsopts -with-rtsopts "-N"
  other-modules: Test.Paths
  autogen-modules: Test.Paths