mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-21 13:15:45 +00:00
Add a CRYB_VERBOSE environment variable.
This commit is contained in:
parent
bfbd8da63a
commit
68809ea833
1 changed files with 3 additions and 0 deletions
|
@ -261,6 +261,9 @@ t_main(t_prepare_func t_prepare, t_cleanup_func t_cleanup,
|
|||
t_str_is_true(getenv("CRYB_LEAKTEST")) :
|
||||
!t_str_is_false(getenv("CRYB_LEAKTEST"));
|
||||
|
||||
/* enable verbose mode if requested */
|
||||
t_verbose = t_str_is_true(getenv("CRYB_VERBOSE"));
|
||||
|
||||
/* make all unintentional allocation failures fatal */
|
||||
t_malloc_fatal = 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue