summaryrefslogtreecommitdiff
path: root/erebos-tester.cabal
blob: 0ea71e21676026ace176861948a75d8ea83298b2 (plain)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
cabal-version:       2.2

name:                erebos-tester
version:             0.2.0
synopsis:            Test framework with virtual network using Linux namespaces
description:
    This framework is intended mainly for networking libraries/applications and
    can run multiple concurrent instances of the tested application on
    different nodes, possibly within separate subnets, on the virtual network.
    Each instance can receive its own commands and produce output to be checked
    via standard input/output, as defined using custom script language.
homepage:            http://erebosprotocol.net
-- bug-reports:
license:             GPL-3.0-only
license-file:        LICENSE
author:              Roman Smrž
maintainer:          roman.smrz@seznam.cz
-- copyright:
category:            Testing
extra-doc-files:
    CHANGELOG.md

source-repository head
    type:       git
    location:   git://erebosprotocol.net/tester

executable erebos-tester
  ghc-options:         -Wall
  main-is:             Wrapper.hs
  -- other-modules:
  -- other-extensions:
  build-depends:       base             >=4.13 && <5,
                       directory        >=1.3 && <1.4,
                       filepath ^>=1.4.2.1,
                       linux-namespaces ^>=0.1.3,
                       process ^>=1.6.9,
                       unix ^>=2.7.2.2,
  hs-source-dirs:      src
  default-language:    Haskell2010

executable erebos-tester-core
  ghc-options:         -Wall -threaded
  main-is:             Main.hs

  other-modules:       Config
                       GDB
                       Network
                       Network.Ip
                       Output
                       Parser
                       Parser.Core
                       Parser.Expr
                       Parser.Statement
                       Paths_erebos_tester
                       Process
                       Run
                       Run.Monad
                       Test
                       Util
                       Version
                       Version.Git

  autogen-modules:     Paths_erebos_tester

  other-extensions:    TemplateHaskell
  default-extensions:  ExistentialQuantification
                       FlexibleContexts
                       FlexibleInstances
                       GADTs
                       GeneralizedNewtypeDeriving
                       ImportQualifiedPost
                       LambdaCase
                       MultiParamTypeClasses
                       OverloadedStrings
                       RankNTypes
                       RecordWildCards
                       ScopedTypeVariables
                       TupleSections
                       TypeApplications
                       TypeFamilies
                       TypeOperators
  build-depends:       base             >=4.13 && <5,
                       bytestring       >=0.10 && <0.12,
                       containers ^>=0.6.2.1,
                       directory ^>=1.3.6.0,
                       filepath ^>=1.4.2.1,
                       generic-deriving >=1.14 && <1.15,
                       Glob             >=0.10 && <0.11,
                       haskeline        >=0.8 && <0.9,
                       HsYAML           >=0.2 && <0.3,
                       lens             >=5.0 && <5.3,
                       megaparsec       >=9.0 && <10,
                       mtl              >=2.2 && <2.4,
                       parser-combinators >=1.3 && <1.4,
                       process ^>=1.6.9,
                       regex-tdfa ^>=1.3.1.0,
                       scientific       >=0.3 && < 0.4,
                       stm ^>=2.5.0.1,
                       template-haskell >=2.17 && <2.19,
                       text             >=1.2 && <2.1,
                       th-compat        >=0.1 && <0.2,
                       unix ^>=2.7.2.2,
  hs-source-dirs:      src
  default-language:    Haskell2010