check-structs: Add check that OFP_ASSERT is checking the right structures.
authorBen Pfaff <blp@nicira.com>
Tue, 4 Oct 2011 16:26:14 +0000 (09:26 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 4 Oct 2011 16:26:14 +0000 (09:26 -0700)
commitf937ccc2321d9bcb946fca249ec718531553a9bc
tree503845ac635fcca87dbcf0cf72468f6f5a5c4bd4
parent3021ea6074bcc5a5bc7f1434ade97d84759e8d14
check-structs: Add check that OFP_ASSERT is checking the right structures.

This avoids a fairly common issue in which a developer cuts and pastes a
structure definition and forgets to update the structure name inside the
OFP_ASSERT, so that the new structure's size doesn't really get checked at
all.
build-aux/check-structs
tests/check-structs.at