-
Notifications
You must be signed in to change notification settings - Fork 0
/
PhyG-integration-tests.cabal
237 lines (200 loc) · 5.67 KB
/
PhyG-integration-tests.cabal
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
Cabal-Version: 3.12
Name: PhyG-integration-tests
Version: 0.2.0
Build-Type: Simple
Tested-With:
GHC == 9.8.1
GHC == 9.6.2
GHC == 9.4.5
GHC == 9.2.8
Author: Ward Wheeler <[email protected]>
Copyright: © 2021 Ward Wheeler and The American Museum of Natural History
License: BSD-3-Clause
License-File: LICENSE
Maintainer: Ward Wheeler <[email protected]>
Homepage: https://github.com/AMNH/PhyG-Integration-Tests#readme
Bug-Reports: https://github.com/AMNH/PhyG-Integration-Tests/issues
Category: Testing
Synopsis: Integration test suite for the PhyG program
Description: An extensive collection of integration tests to assert the desired functionality of PhyG across changes to the source code.
-- Data-Dir:
Data-Files:
data/subset-hours.txt
data/subset-rapid.txt
tests/**/*.dot
tests/**/*.fas
tests/**/*.fasta
tests/**/*.fastc
tests/**/*.golden
tests/**/*.pg
tests/**/*.ss
tests/**/*.tcm
-- **/*.tre
-- None of the below currently exist in the test suite!
-- **/*.tree
-- **/*.tnt
Extra-Doc-Files:
Changelog.md
Flag Single-Threaded
Description: Disable multi-threading
Default: False
Manual: True
Source-Repository head
Type: git
Location: git://github.com/AMNH/PhyG-Integration-Tests.git
Test-Suite integration-tests
Main-Is:
IntegrationTests.hs
Autogen-Modules:
PackageInfo_PhyG_integration_tests
Paths_PhyG_integration_tests
Build-Depends:
base >= 4.11 && < 5.0,
bytestring >= 0.10.10 && < 0.13,
containers >= 0.6.2 && < 1.0,
deepseq >= 1.4 && < 2.0,
directory >= 1.3.6 && < 2.0,
filepath >= 1.4.2 && < 2.0,
process >= 1.6 && < 2.0,
tasty >= 1.2 && < 2.0,
tasty-golden >= 2.3 && < 3.0,
tasty-rerun >= 1.1.14 && < 2.0,
template-haskell >= 2.17 && < 3.0,
time >= 1.11 && < 2.0,
Default-Extensions:
LambdaCase
NoGeneralizedNewtypeDeriving
UnicodeSyntax
Default-Language:
GHC2021
-- If the Single-Threaded flag was specified
-- Limit the number of threads to *TWO*.
-- At least two threads are required for
-- the test suite to run correctly;
-- * One thread for the Tasty coordinator
-- * One thread for the spawned PhyG process
If flag(Single-Threaded)
Ghc-Options:
-with-rtsopts=-N2
-- Otherwise just use all the threads!
Else
Ghc-Options:
-with-rtsopts=-N
Ghc-Options:
-- Always enable threading,
-- but maybe conditionally limit the threads to only 2
-threaded
-- Usability options:
-fdiagnostics-color=always
-fhide-source-paths
-- Sanity check warnings:
-- 1. Fail on a warning
-- 2. Include all warnings by default
-- 3. Exclude the undesirable warnings
-- -Werror
-Weverything
-- Exclusions:
-Wno-all-missed-specialisations
-Wno-implicit-prelude
-Wno-inferred-safe-imports
-Wno-missed-specialisations
-Wno-missing-import-lists
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-Wno-monomorphism-restriction
-Wno-type-defaults
-Wno-unsafe
Hs-Source-Dirs:
src
Other-Extensions:
TemplateHaskell
TemplateHaskellQuotes
Other-Modules:
PackageInfo_PhyG_integration_tests
Paths_PhyG_integration_tests
Test.Integration.Constants
Test.Integration.Golden
Test.Integration.Golden.Subset
Test.Integration.Golden.Subset.Hours
Test.Integration.Golden.Subset.Rapid
Test.Integration.Golden.Subset.Reader
Test.SubProcess
Type:
exitcode-stdio-1.0
Executable PhyG-Integration-Tests
Main-Is:
IntegrationTests.hs
Autogen-Modules:
PackageInfo_PhyG_integration_tests
Paths_PhyG_integration_tests
Build-Depends:
base >= 4.11 && < 5.0,
bytestring >= 0.10.10 && < 0.13,
containers >= 0.6.2 && < 1.0,
deepseq >= 1.4 && < 2.0,
directory >= 1.3.6 && < 2.0,
filepath >= 1.4.2 && < 2.0,
process >= 1.6 && < 2.0,
tasty >= 1.2 && < 2.0,
tasty-golden >= 2.3 && < 3.0,
tasty-rerun >= 1.1.14 && < 2.0,
template-haskell >= 2.17 && < 3.0,
time >= 1.11 && < 2.0,
Default-Extensions:
LambdaCase
NoGeneralizedNewtypeDeriving
UnicodeSyntax
Default-Language:
GHC2021
-- If the Single-Threaded flag was specified
-- Limit the number of threads to *TWO*.
-- At least two threads are required for
-- the test suite to run correctly;
-- * One thread for the Tasty coordinator
-- * One thread for the spawned PhyG process
If flag(Single-Threaded)
Ghc-Options:
-with-rtsopts=-N2
-- Otherwise just use all the threads!
Else
Ghc-Options:
-with-rtsopts=-N
Ghc-Options:
-- Always enable threading,
-- but maybe conditionally limit the threads to only 2
-threaded
-- Usability options:
-fdiagnostics-color=always
-fhide-source-paths
-- Sanity check warnings:
-- 1. Fail on a warning
-- 2. Include all warnings by default
-- 3. Exclude the undesirable warnings
-- -Werror
-Weverything
-- Exclusions:
-Wno-all-missed-specialisations
-Wno-implicit-prelude
-Wno-inferred-safe-imports
-Wno-missed-specialisations
-Wno-missing-import-lists
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-Wno-monomorphism-restriction
-Wno-type-defaults
-Wno-unsafe
Hs-Source-Dirs:
src
Other-Extensions:
TemplateHaskell
TemplateHaskellQuotes
Other-Modules:
PackageInfo_PhyG_integration_tests
Paths_PhyG_integration_tests
Test.Integration.Constants
Test.Integration.Golden
Test.Integration.Golden.Subset
Test.Integration.Golden.Subset.Hours
Test.Integration.Golden.Subset.Rapid
Test.Integration.Golden.Subset.Reader
Test.SubProcess