From ae1a96602f9cd542605cc31c7addf82494cbf4c4 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 24 Oct 2013 14:28:30 +0200 Subject: [PATCH] Do not use the "debug" loglevel when built with NDEBUG. --- testsuite/xbt/log_usage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testsuite/xbt/log_usage.c b/testsuite/xbt/log_usage.c index ebc77e469a..0f32252fde 100644 --- a/testsuite/xbt/log_usage.c +++ b/testsuite/xbt/log_usage.c @@ -1,6 +1,6 @@ /* log_usage - A test of normal usage of the log facilities */ -/* Copyright (c) 2004-2007, 2009-2012. The SimGrid Team. +/* Copyright (c) 2004-2007, 2009-2013. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -38,7 +38,9 @@ int main(int argc, char **argv) dolog(""); dolog(" "); dolog(" test.thres:info root.thres:info "); +#ifndef NDEBUG dolog(" test.thres:debug "); +#endif dolog(" test.thres:verbose root.thres:error "); dolog(" test.thres:critical "); -- 2.20.1