Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions conformance/sv-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ Each test has separate `2state` and `4state` rows (`test`, `state_mode`, `result
The official runner owns metadata parsing, compatible-runner filtering, mode
priority, library injection, timeouts, expected failures and simulation
`:assert:` evaluation. The adapter declares only the driver’s supported
`parsing`, `elaboration` and `simulation` modes. It forwards source files, include
directories, defines, an optional explicit top and the selected state mode to
the Rust driver. Parsing mode stops after preprocessing and syntax parsing; it
does not build semantic module metadata, select a root, elaborate or simulate.
`preprocessing`, `parsing`, `elaboration` and `simulation` modes. It forwards
source files, include directories, defines, an optional explicit top and the
selected state mode to
the Rust driver. Preprocessing mode expands macros and includes, emits the
resulting text, and stops before syntax parsing or root selection. Parsing mode
stops after preprocessing and syntax parsing; it does not build semantic module
metadata, select a root, elaborate or simulate.
The official mode priority still chooses elaboration for default cases and for
cases that permit both parsing and elaboration. In elaboration and simulation
modes, sources without a module still undergo preprocessing and parsing; root
Expand All @@ -33,6 +36,13 @@ command-line defines apply to each file.
| `fail` | the official runner emitted `FAIL` |
| `skip` | the official runner skipped an incompatible test or unsupported mode |

All 90 preprocessing cases at the pinned revision now execute in both state
modes, leaving no skipped expectation rows. Each mode reports 89 passes and
one failure: `chapter-22/22.11--pragma-invalid.sv` expects a bare `` `pragma ``
to be rejected, but the preprocessor currently accepts it. This failure remains
visible in the baseline. Upstream preprocessing verdicts check process success
and expected failure; they do not compare the emitted text against a golden file.

The official runner’s process exit code is separate from the case verdict.
The wrapper reads its `PASS`/`FAIL` log messages; it does not reconstruct their
rules from tool exit codes or `should_fail` metadata. A negative test may pass
Expand Down
Loading
Loading