igzip: Improve optional compile options for wrapper_hdr_test

Change TEST_SEED and RANDOMS to be set only when they
are not already defined.

Change-Id: Ib101be4a1726875372eb7b19cd1bcdae90c9267d
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
This commit is contained in:
Roy Oursler 2018-08-07 12:23:41 -07:00
parent c19657241a
commit 7205c23647

View File

@ -6,8 +6,12 @@
#include "igzip_lib.h"
#include "igzip_wrapper.h"
#ifndef TEST_SEED
# define TEST_SEED 0x1234
#endif
#ifndef RANDOMS
# define RANDOMS 0x4000
#endif
#define EXTRA_SIZE_MAX 256
#define NAME_SIZE_MAX 256