tiny_httpd/tests/html/dune
2022-03-16 22:27:30 -04:00

22 lines
437 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)))