git-kv/test/dune
Reynir Björnsson 248a6cdde9 Partially fix tests
Since mgit is not a public executable it will not be present in $PATH -
so we must use %{exe:...} over %{bin:...}.

The fix is partial because the (enabled_if ...) stanza doesn't work
correctly for me at least.
2024-10-25 11:02:10 +02:00

22 lines
400 B
Text

(cram
(package git-kv)
(applies_to simple)
(locks p9418)
(enabled_if (= "true" {%read:git-daemon}))
(deps %{exe:../app/mgit.exe}))
(cram
(package git-kv)
(applies_to fold)
(locks p9418)
(enabled_if (= "true" {%read:git-daemon}))
(deps %{exe:../app/mgit.exe}))
(executable
(name git_daemon_exists)
(libraries unix))
(rule
(with-stdout-to
git-daemon
(run ./git_daemon_exists.exe)))