on master help sign in
Fix windows/linux builds
commite8fbfa8d31e3f8abb6374eb8e6c10a0ddfaa87aa authorHarendra Kumar <harendra@composewell.com> dateTue 9 Nov 2021, 22:32 (5 years ago) parent99f18f2
1 file changed+8
test/streamly-tests.cabal+8
test/streamly-tests.cabal+8
@@ -278,6 +278,10 @@ test-suite FileSystem.Event
278278 import: test-options
279279 type: exitcode-stdio-1.0
280280 main-is: Streamly/Test/FileSystem/Event.hs
281+ if os(linux)
282+ other-modules: Streamly.Test.FileSystem.Event.Linux
283+ if os(windows)
284+ other-modules: Streamly.Test.FileSystem.Event.Windows
281285 if os(darwin)
282286 buildable: False
283287
@@ -285,6 +289,8 @@ test-suite FileSystem.Event.Linux
285289 import: test-options
286290 type: exitcode-stdio-1.0
287291 main-is: Streamly/Test/FileSystem/Event/LinuxTest.hs
292+ if os(linux)
293+ other-modules: Streamly.Test.FileSystem.Event.Linux
288294 if os(windows)
289295 buildable: False
290296 if os(darwin)
@@ -294,6 +300,8 @@ test-suite FileSystem.Event.Windows
294300 import: test-options
295301 type: exitcode-stdio-1.0
296302 main-is: Streamly/Test/FileSystem/Event/WindowsTest.hs
303+ if os(windows)
304+ other-modules: Streamly.Test.FileSystem.Event.Windows
297305 if os(linux)
298306 buildable: False
299307 if os(darwin)