ocaml-trace/test/tls/dune
Simon Cruanes 42bf837113
add Trace_lwt optional library (#47)
* add Trace_lwt optional library

provides a with_span that's lwt friendly, as well as a ambient span
provider.

* test: extract recorder used for ambient tests

* tests for trace.lwt

* opam
2026-04-14 14:10:32 -04:00

20 lines
357 B
Text

(executable
(name t_tls)
(modules t_tls)
(libraries
trace
test_trace_common
(select
t_tls.ml
from
(trace.thread-local-storage -> t_tls.real.ml)
(-> t_tls.quine.ml))))
(rule
(alias runtest)
(action
(progn
(with-stdout-to
t_tls.output
(run %{exe:t_tls.exe} %{dep:t_tls.expected}))
(diff t_tls.expected t_tls.output))))