diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2017-02-10 13:12:49 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-02-16 15:22:30 +1100 |
commit | 9ecef957e222373944c2da8a33ecc96aa94202c3 (patch) | |
tree | 8105a2025d5172d0f545bc150f7608edbf17bf84 /libc | |
parent | 000a74e174cf494cc788881a970a387666e7f64e (diff) | |
download | skiboot-9ecef957e222373944c2da8a33ecc96aa94202c3.zip skiboot-9ecef957e222373944c2da8a33ecc96aa94202c3.tar.gz skiboot-9ecef957e222373944c2da8a33ecc96aa94202c3.tar.bz2 |
hdata/test: strip blobs from the DT output
Adds a post-processing step the hdata_to_dt test program that replaces
large "blobs" in the device tree with a <0xcafebeef, length, checksum>
u32 tuple.
The actual contents of these blobs are mostly irrelevant. We only care
that they are a) present in the device tree and b) aren't silently
corrupted by the HDAT parser. Outputting a checksum instead of the full
blob is sufficent for testing the parser.
This reduces the size of the test case output considerably so hopefully
we stop crashing everyone's mail client whenever the tests are changed.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libc')
0 files changed, 0 insertions, 0 deletions