Skip to content

Commit

Permalink
Fix fud2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
polybeandip committed Nov 12, 2024
1 parent b3c8941 commit 33a93d7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fud2/tests/snapshots/tests__list_ops.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
source: fud2/tests/tests.rs
assertion_line: 251
---
[
(
Expand Down Expand Up @@ -37,6 +38,11 @@ source: fud2/tests/tests.rs
"calyx",
"yxi",
),
(
"calyx_py-to-calyx",
"calyx_py",
"calyx",
),
(
"cider",
"cider",
Expand Down
2 changes: 2 additions & 0 deletions fud2/tests/snapshots/tests__list_states.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
source: fud2/tests/tests.rs
assertion_line: 229
---
[
"calyx",
"calyx_py",
"cider",
"cider-debug",
"cocotb-axi",
Expand Down
16 changes: 16 additions & 0 deletions fud2/tests/snapshots/tests__test@plan_calyx_py-to-calyx.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
source: fud2/tests/tests.rs
assertion_line: 66
description: "emit plan: calyx_py-to-calyx"
---
build-tool = fud2
rule get-rsrc
command = $build-tool get-rsrc $out

py_args =
rule calyx_py-to-calyx
command = python3 $in $py_args > $out

build /output.ext: calyx_py-to-calyx /input.ext

default /output.ext

0 comments on commit 33a93d7

Please sign in to comment.