Skip to content

Commit 036d930

Browse files
authored
Merge pull request #867 from stan-dev/transformed-mir-expect-test
Add a transformed_mir_diff expect test for #856 to diff against
2 parents a7f4b74 + 80c3dc2 commit 036d930

File tree

2 files changed

+29230
-0
lines changed

2 files changed

+29230
-0
lines changed

test/integration/good/code-gen/dune

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@
2020
(name runtest)
2121
(action (diff mir.expected mir.output)))
2222

23+
(rule
24+
(targets transformed_mir.output)
25+
(deps (package stanc) (:stanfiles mother.stan))
26+
(action
27+
(with-stdout-to %{targets}
28+
(run %{bin:run_bin_on_args} "%{bin:stanc} --debug-transformed-mir" %{stanfiles}))))
29+
30+
(alias
31+
(name runtest)
32+
(action (diff transformed_mir.expected transformed_mir.output)))
33+
2334
(rule
2435
(targets cl.output)
2536
(deps (package stanc) (:stanfiles optimize_glm.stan))

0 commit comments

Comments
 (0)