The most trivial of tests!
This is right from the Verilog spec, chapter nineteen section three, and it tests that `resetall does not affect macros.
It would be nice if this test were updated so that it printed "PASSED" and was integrated into the regress.list. As it stands now, it is a dangling test that is not run.
macro2 is in regress.list, and it's reported as passing in regression_report-devel.txt :)
Here's a patch to make it emit "PASSED" and clean up the gold file.
I should have been more clear - the second patch "0002" goes -after- the first patch "0003"
Applied to git master.
OK, the numbering was a little bit confusing.
Also, as a general rule I prefer to not change existing tests and instead add new tests when testing a new feature. The reason for that is that sometimes the existing test is checking a subtlety (that was a bug) that is not at all obvious. Keep that in mind in the future.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.