Skip to content

Commit 68bcec5

Browse files
Disable filesystem event tests for ghc < 9.4
1 parent 813020c commit 68bcec5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/streamly-tests.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ test-suite FileSystem.Event
428428
ghc-options: -main-is Streamly.Test.FileSystem.Event
429429
main-is: Streamly/Test/FileSystem/Event.hs
430430
other-modules: Streamly.Test.FileSystem.Event.Common
431-
if !(os(linux) || os(darwin) || os(windows)) || flag(use-streamly-core)
431+
if !((os(linux) && impl(ghc >= 9.4)) || os(darwin) || os(windows)) || flag(use-streamly-core)
432432
buildable: False
433433

434434
test-suite FileSystem.Event.Darwin
@@ -448,7 +448,7 @@ test-suite FileSystem.Event.Linux
448448
other-modules: Streamly.Test.FileSystem.Event.Common
449449
cpp-options: -DFILESYSTEM_EVENT_LINUX
450450
ghc-options: -main-is Streamly.Test.FileSystem.Event.Linux
451-
if !os(linux) || flag(use-streamly-core)
451+
if impl(ghc < 9.4) || !os(linux) || flag(use-streamly-core)
452452
buildable: False
453453

454454
test-suite FileSystem.Event.Windows

0 commit comments

Comments
 (0)