Skip to content

Commit

Permalink
Disable some tests on unix.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboris committed Sep 9, 2024
1 parent 624d068 commit a4964ed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CoreFoundation/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(library
(name CoreFoundation)
(public_name camlkit-base.CoreFoundation)
(flags :standard -ccopt "-framework CoreFoundation")
; (flags :standard -ccopt "-framework CoreFoundation")
; (foreign_stubs (language c) (names CoreFoundation_inlines))
(libraries camlkit-base.runtime))

Expand Down
5 changes: 4 additions & 1 deletion test/test_CoreFoundation/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
(test
(name test_CoreFoundation)
(package camlkit-base)
(build_if (= %{context_name} "default"))
(build_if (and
(= %{system} macosx)
(= %{context_name} "default")))
(flags :standard -ccopt "-framework CoreFoundation")
(libraries
camlkit-base.runtime
camlkit-base.CoreFoundation
Expand Down
5 changes: 4 additions & 1 deletion test/test_CoreGraphics/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
(test
(name test_CoreGraphics)
(package camlkit-gui)
(build_if (= %{context_name} "default"))
(build_if (and
(= %{system} macosx)
(= %{context_name} "default")))
(flags :standard -ccopt "-framework CoreGraphics")
(libraries
camlkit-base.runtime
camlkit-base.CoreFoundation
Expand Down

0 comments on commit a4964ed

Please sign in to comment.