Test Infrastructure Audit #1880
rachitnigam
started this conversation in
General
Replies: 2 comments 2 replies
-
|
Another interesting possibility, enabled by |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Really interesting thoughts! Yeah, seems like there are some interesting trade-offs here. Just a couple of things to keep in mind while we think about this more deeply:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It is time once again to audit the test infrastructure and figure out how to reorganize things as the monorepo continues growing. A couple of big questions:
runtwithturnt?runtvs.turntThe original motivation for
runtwas running tests in parallel.turnthas since caught up and now supports parallel execution. Separate organizational reasons to consider here:turntsupports more complex tests that can produce multiple inputs and outputsturntoverall has more person-hours invested in maintenance since it's used for CS 6120 and most other compilers in the CAPRA group.The other two questions (separate test suites and complex test benches) also influence whether we should make this decision. I would lean on folks who've had experience with both systems (@sampsyo or @anshumanmohan) for more technical arguments for whether we should make this change or not.
Separate Test Suites
The current
runt.tomlfile uses ad-hoc tags like[core]to allow users to filter out particular tests but this is not particularly ergonomic or elegant and doesn't scale with multiple test suites. Can we either:runtsupport test suites so we can define subsets of tests to run?turntto support test suites (not sure if this is an out-of-the-box feature).Complex Testbenches
The work on AXI demonstrates the long-term need for more complex testbenches that can define multi-cycle interactions with designs. Supporting these kinds of tests with
runtis slightly annoying because you end up having to define a custom test suite for each test at which point we might as well be usingturnt's CHECK commands.Beta Was this translation helpful? Give feedback.
All reactions