diff options
author | Lars Amsel <lars.amsel@ni.com> | 2020-06-22 21:31:05 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-06-23 12:36:57 -0500 |
commit | 2c8e79c92fe72eeb43cf1c13c961f689bfebdd15 (patch) | |
tree | d42ec5b082a150031351e9da34525f8e753a912b /host/utils/b2xx_side_channel.py | |
parent | b772b5b2cb8b0c55187142e69e4abe22ef27df5c (diff) | |
download | uhd-2c8e79c92fe72eeb43cf1c13c961f689bfebdd15.tar.gz uhd-2c8e79c92fe72eeb43cf1c13c961f689bfebdd15.tar.bz2 uhd-2c8e79c92fe72eeb43cf1c13c961f689bfebdd15.zip |
test: Use git hashes to verify flatbuffers schema
Each version of flatbuffers (might) generate different header files
for the same schema file. Therefore we cannot compare the content
of the generated headers to detect changes in the schema that are
not accompanied by a change in the generated header.
To have at least a minimal check that the schema matches the
generated header we compare the git hashes of both. We will not
allow to change the schema without changing the header and vice
versa. This condition is checked by a unit test.
Diffstat (limited to 'host/utils/b2xx_side_channel.py')
0 files changed, 0 insertions, 0 deletions