Skip to content

Commit c195e2f

Browse files
committed
mock-array: eqy info
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent cd493cc commit c195e2f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

test/orfs/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,19 @@ To hunt down missing `tags = ["manual"]` run a query like:
112112
bazelisk query 'kind(".*", //test/orfs/mock-array/...) except attr(tags, "manual", //test/orfs/mock-array/...)'
113113

114114
Note that OpenROAD *does* want `bazelisk test ...` to run all tests, so test targets should be marked `tags = ["orfs"]` instead, so that `.bazelrc` can skip builds of those targets with the `build --build_tag_filters=-orfs` line.
115+
116+
## eqy tests
117+
118+
`eqy_test` is used to run equivalence checks before and after an ORFS stage, such as before and after floorplan for mock-array. To run the test and keep all the files from the test and see interactive output, run:
119+
120+
bazelisk test //test/orfs/mock-array:MockArray_4x4_eqy_test --test_output=streamed --sandbox_debug
121+
122+
If this fails, then it will output the line below. `eqy` uses a very, very large number of files and copying out these files to the bazel-testlogs folder for inspection takes some time:
123+
124+
Copying 114462 files to bazel-testlogs/test/orfs/mock-array/MockArray_4x4_eqy_test/test.outputs for inspection.
125+
126+
If you just want the files needed to run a locally installed `eqy`, build all the files used in the run above by:
127+
128+
bazelisk build //test/orfs/mock-array:MockArray_4x4_eqy_test
129+
130+
The files used to run the test are then in `bazel-bin/test/orfs/mock-array/`.

0 commit comments

Comments
 (0)