commit | 49f22c38f194d5704991d02d9d479d46aa0d8a57 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Nov 25 11:57:31 2017 -0700 |
committer | Tom Rini <trini@konsulko.com> | Sat Dec 02 18:32:58 2017 -0500 |
tree | 17ce79a8da9473325ab7dc990a1d6d4f274e18ad | |
parent | e93232e15ec9fb42a6f856b612c7b64792e533c2 [diff] |
test: compression: Put test variables in a struct At present the test setup is somewhat mixed with the test itself. But if the test setup fails (which it should not) then the test is actually invalid. Put all the test buffers and sizes in a struct and separate out the core code into a function. This will make it easier to move the code to use the unit test framework. Signed-off-by: Simon Glass <sjg@chromium.org>