Skip to content

Commit

Permalink
Merge pull request #867 from stan-dev/transformed-mir-expect-test
Browse files Browse the repository at this point in the history
Add a transformed_mir_diff expect test for #856 to diff against
  • Loading branch information
rok-cesnovar authored Apr 2, 2021
2 parents a7f4b74 + 80c3dc2 commit 036d930
Show file tree
Hide file tree
Showing 2 changed files with 29,230 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/integration/good/code-gen/dune
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
(name runtest)
(action (diff mir.expected mir.output)))

(rule
(targets transformed_mir.output)
(deps (package stanc) (:stanfiles mother.stan))
(action
(with-stdout-to %{targets}
(run %{bin:run_bin_on_args} "%{bin:stanc} --debug-transformed-mir" %{stanfiles}))))

(alias
(name runtest)
(action (diff transformed_mir.expected transformed_mir.output)))

(rule
(targets cl.output)
(deps (package stanc) (:stanfiles optimize_glm.stan))
Expand Down
Loading

0 comments on commit 036d930

Please sign in to comment.