Skip to content

Commit ec8052b

Browse files
authored
Merge pull request #11661 from geekosaur/tasty-1.5.4
update IntegrationTests2 for tasty-1.5.4
2 parents 449d2ef + 6e2938d commit ec8052b

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

cabal-install/cabal-install.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ test-suite integration-tests2
454454
, directory
455455
, filepath
456456
, process
457-
, tasty >= 1.5 && <1.6
457+
, tasty >= 1.5.4 && <1.6
458458
, tasty-hunit >= 0.10
459459
, tasty-expected-failure
460460
, silently

cabal-install/tests/IntegrationTests2.hs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ main = do
115115
defaultMainWithIngredients
116116
(defaultIngredients ++ [includingOptions projectConfigOptionDescriptions])
117117
( localOption (NumThreads 1) $ withProjectConfig $ \config ->
118-
sequentialTestGroup
118+
dependentTestGroup
119119
"Integration tests (internal)"
120120
AllFinish
121121
(tests config)
@@ -145,14 +145,14 @@ tests config =
145145
-- TODO: tests for:
146146
-- \* normal success
147147
-- \* dry-run tests with changes
148-
[ sequentialTestGroup
148+
[ dependentTestGroup
149149
"Discovery and planning"
150150
AllFinish
151151
[ testCase "no package" (testExceptionInFindingPackage config)
152152
, testCase "no package2" (testExceptionInFindingPackage2 config)
153153
, testCase "proj conf1" (testExceptionInProjectConfig config)
154154
]
155-
, sequentialTestGroup
155+
, dependentTestGroup
156156
"Target selectors"
157157
AllFinish
158158
[ testCaseSteps "valid" testTargetSelectors
@@ -171,7 +171,7 @@ tests config =
171171
, testCaseSteps "problems (bench)" (testTargetProblemsBench config)
172172
, testCaseSteps "problems (haddock)" (testTargetProblemsHaddock config)
173173
]
174-
, sequentialTestGroup
174+
, dependentTestGroup
175175
"Exceptions during building (local inplace)"
176176
AllFinish
177177
[ testCase "configure" (testExceptionInConfigureStep config)
@@ -182,28 +182,28 @@ tests config =
182182
-- TODO: need to check we can build sub-libs, foreign libs and exes
183183
-- components for non-local packages / packages in the store.
184184

185-
sequentialTestGroup "Successful builds" AllFinish $
185+
dependentTestGroup "Successful builds" AllFinish $
186186
[ testCaseSteps "Setup script styles" (testSetupScriptStyles config)
187187
, testCase "keep-going" (testBuildKeepGoing config)
188188
]
189189
++
190190
-- disabled because https://github.com/haskell/cabal/issues/6272
191191
[testCase "local tarball" (testBuildLocalTarball config) | System.Info.os /= "mingw32"]
192-
, sequentialTestGroup
192+
, dependentTestGroup
193193
"Regression tests"
194194
AllFinish
195195
[ testCase "issue #3324" (testRegressionIssue3324 config)
196196
, testCase "program options scope all" (testProgramOptionsAll config)
197197
, testCase "program options scope local" (testProgramOptionsLocal config)
198198
, testCase "program options scope specific" (testProgramOptionsSpecific config)
199199
]
200-
, sequentialTestGroup
200+
, dependentTestGroup
201201
"Flag tests"
202202
AllFinish
203203
[ testCase "Test Config options for commented options" testConfigOptionComments
204204
, testCase "Test Ignore Project Flag" testIgnoreProjectFlag
205205
]
206-
, sequentialTestGroup
206+
, dependentTestGroup
207207
"haddock-project"
208208
AllFinish
209209
[ testCase "dependencies" (testHaddockProjectDependencies config)

0 commit comments

Comments
 (0)