p4lang / p4c

P4_16 reference compiler
https://p4.org/
Apache License 2.0
682 stars 446 forks source link

Add mechanism for easily adding tests for command-line options #4907

Open kfcripps opened 2 months ago

kfcripps commented 2 months ago

e.g. --Werror, --Wdisable, etc.

See https://github.com/p4lang/p4c/pull/4894 and #4366 for initial test ideas.

kfcripps commented 2 months ago

@sepanchi JFYI - This may be a good one for you to work on if you have time :)