Skip to content

Commit

Permalink
reftests: add tree test
Browse files Browse the repository at this point in the history
  • Loading branch information
cannorin authored and rjbou committed Sep 9, 2022
1 parent 8ea9c3b commit 30754fc
Show file tree
Hide file tree
Showing 2 changed files with 407 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/reftests/dune.inc
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,23 @@
%{targets}
(run ./run.exe %{bin:opam} %{dep:switch-set.test} %{read-lines:testing-env}))))

(rule
(alias reftest-tree)
(action
(diff tree.test tree.out)))

(alias
(name reftest)
(deps (alias reftest-tree)))

(rule
(targets tree.out)
(deps root-N0REP0)
(action
(with-stdout-to
%{targets}
(run ./run.exe %{bin:opam} %{dep:tree.test} %{read-lines:testing-env}))))

(rule
(alias reftest-unhelpful-conflicts-001)
(action
Expand Down
Loading

0 comments on commit 30754fc

Please sign in to comment.