sys: rename DEBUGRANDTEST to DEBUGTEST

This commit is contained in:
Bill Zissimopoulos
2016-03-04 15:41:53 -08:00
parent 84be6692b8
commit b4160f4aac
7 changed files with 13 additions and 13 deletions

View File

@ -71,13 +71,13 @@ extern __declspec(selectany) int fsp_bp = 1;
#define DEBUGBREAK() do {} while (0,0)
#endif
/* DEBUGRANDTEST */
/* DEBUGTEST */
#if DBG
extern __declspec(selectany) int fsp_dt = 1;
#define DEBUGRANDTEST(Percent, Default) \
#define DEBUGTEST(Percent, Default) \
(!fsp_dt || DebugRandom() <= (Percent) * 0x7fff / 100 ? (Default) : !(Default))
#else
#define DEBUGRANDTEST(Percent, Default) (Default)
#define DEBUGTEST(Percent, Default) (Default)
#endif
/* FSP_ENTER/FSP_LEAVE */