Skip to content

Commit f765c83

Browse files
authored
Include modules that test-suites depend on in other-modules (#153)
1 parent 0cc7805 commit f765c83

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

vector.cabal

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ Extra-Source-Files:
5050
tests/LICENSE
5151
tests/Setup.hs
5252
tests/Main.hs
53-
tests/Boilerplater.hs
54-
tests/Utilities.hs
55-
tests/Tests/Move.hs
56-
tests/Tests/Bundle.hs
57-
tests/Tests/Vector.hs
5853
benchmarks/vector-benchmarks.cabal
5954
benchmarks/LICENSE
6055
benchmarks/Setup.hs
@@ -183,6 +178,14 @@ test-suite vector-tests-O0
183178
Default-Language: Haskell2010
184179
type: exitcode-stdio-1.0
185180
Main-Is: Main.hs
181+
182+
other-modules: Boilerplater
183+
Tests.Bundle
184+
Tests.Move
185+
Tests.Vector
186+
Tests.Vector.UnitTests
187+
Utilities
188+
186189
hs-source-dirs: tests
187190
Build-Depends: base >= 4.5 && < 5, template-haskell, vector,
188191
random,
@@ -213,6 +216,14 @@ test-suite vector-tests-O2
213216
Default-Language: Haskell2010
214217
type: exitcode-stdio-1.0
215218
Main-Is: Main.hs
219+
220+
other-modules: Boilerplater
221+
Tests.Bundle
222+
Tests.Move
223+
Tests.Vector
224+
Tests.Vector.UnitTests
225+
Utilities
226+
216227
hs-source-dirs: tests
217228
Build-Depends: base >= 4.5 && < 5, template-haskell, vector,
218229
random,

0 commit comments

Comments
 (0)