"make check" in build-root/build-$tag-$arch/vppinfra should now work on a
machine with 3G of spare memory
Change-Id: Ie6a22e8496b56b93aa90fdc81e3e0c10dc7514fb
Signed-off-by: Florin Coras <[email protected]>
}
}
- if (! tm->input_file)
- clib_error ("no input file");
+ if (!tm->input_file)
+ {
+ clib_warning("No input file! Using test_bihash_template");
+ tm->input_file = "test_bihash_template";
+ }
error = elf_read_file (em, tm->input_file);
if (error)
uword print;
u32 seed;
u32 *seedp = &seed;
-
+
/* first, check known sequence from Numerical Recipes in C, 2nd ed.
page 284 */
seed = known_random_sequence[0];
unformat_input_t i;
int ret;
+ clib_mem_init (0, 3ULL<<30);
+
unformat_init_command_line (&i, argv);
ret = test_random_main (&i);
unformat_free (&i);
u32 tmp;
tm->seed = 0xbabeb00b;
- tm->iter = 10000000;
+ tm->iter = 100000;
tm->verbose = 1;
tm->branching_factor = 1.0 / 5.0;
unformat_input_t i;
int ret;
- clib_mem_init (0, (u64)8<<30);
+ clib_mem_init (0, (u64)4<<30);
unformat_init_command_line (&i, argv);
ret = test_slist_main (&i);