tests: add VERBOSE macro
Introduce VERBOSE macro (defaults to 0) that is expected to be defined to 1 by code testing "strace -v" output. * tests/tests.h [!VERBOSE] (VERBOSE): New macro.
This commit is contained in:
@ -35,6 +35,11 @@
|
||||
# include <sys/types.h>
|
||||
# include "gcc_compat.h"
|
||||
|
||||
/* Tests of "strace -v" are expected to define VERBOSE to 1. */
|
||||
#ifndef VERBOSE
|
||||
# define VERBOSE 0
|
||||
#endif
|
||||
|
||||
/* Cached sysconf(_SC_PAGESIZE). */
|
||||
size_t get_page_size(void);
|
||||
|
||||
|
Reference in New Issue
Block a user