tiny_httpd/tests/html/dune
2023-05-23 17:40:18 -04:00

31 lines
448 B
Text

(executable
(libraries tiny_httpd)
(name makehtml))
(rule
(targets t1.out.html)
(deps
(:bin ./makehtml.exe))
(action
(with-stdout-to
%{targets}
(run %{bin} 1))))
(rule
(alias runtest)
(action
(diff t1.expected.html t1.out.html)))
(rule
(targets t2.out.html)
(deps
(:bin ./makehtml.exe))
(action
(with-stdout-to
%{targets}
(run %{bin} 2))))
(rule
(alias runtest)
(action
(diff t2.expected.html t2.out.html)))