Skip to content

Add testing infrastructure for slang#272

Open
fischeti wants to merge 6 commits intofischeti/slang-picklerfrom
fischeti/slang-test
Open

Add testing infrastructure for slang#272
fischeti wants to merge 6 commits intofischeti/slang-picklerfrom
fischeti/slang-test

Conversation

@fischeti
Copy link
Contributor

@fischeti fischeti commented Feb 17, 2026

I added another testing repository in tests/pickle to test out multiple SystemVerilog options. The testing is done on multiple levels:

Unit tests basic.rs

Just checks that parsing is sucessful or proper error is returned when broken SV code is provided.

Refactoring tests pickle.rs

Tests renaming feature of --prefix/--suffix as well as file filtering with --top

CLI regression cli_regression.rs

Existing test framework to check the emitted output against regression (to be enabled)


This is part 2 of 3 in a stack made with GitButler:

@fischeti fischeti force-pushed the fischeti/slang-test branch from c6356eb to 5a1fd38 Compare February 17, 2026 14:12
@fischeti fischeti force-pushed the fischeti/slang-pickler branch from 038b5fa to 3795c0a Compare February 17, 2026 17:16
@fischeti fischeti force-pushed the fischeti/slang-test branch from 5a1fd38 to 1d36e68 Compare February 17, 2026 17:16
@fischeti fischeti marked this pull request as ready for review February 17, 2026 17:37
@fischeti fischeti requested a review from micprog February 17, 2026 17:37
@fischeti fischeti force-pushed the fischeti/slang-pickler branch from 3795c0a to f295d10 Compare February 18, 2026 08:33
@fischeti fischeti force-pushed the fischeti/slang-test branch from 1d36e68 to 4219ba4 Compare February 18, 2026 08:33
@fischeti fischeti force-pushed the fischeti/slang-test branch from 4219ba4 to 164533c Compare February 18, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments