From dd59f9c624baf24179a024b131babc4e8d0e76b9 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 26 Aug 2012 21:33:50 +0200 Subject: [PATCH] Engage "no_variable_data" during tests for predictable unique IDs --- tests/unit/init.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/unit/init.cpp b/tests/unit/init.cpp index a1d1b46db..ac689593e 100644 --- a/tests/unit/init.cpp +++ b/tests/unit/init.cpp @@ -15,7 +15,8 @@ #include "tests/unit/init.h" -#include "src/common/unique_numbers.h" +#include "common/hacks.h" +#include "common/unique_numbers.h" namespace { @@ -39,6 +40,8 @@ mtxut::init_suite() { set_mxmsg_handler(MXMSG_INFO, mxmsg_handler); set_mxmsg_handler(MXMSG_WARNING, mxmsg_handler); set_mxmsg_handler(MXMSG_ERROR, mxmsg_handler); + + engage_hack(ENGAGE_NO_VARIABLE_DATA); } void