From: Arnaud Giersch Date: Thu, 24 Oct 2013 12:28:30 +0000 (+0200) Subject: Do not use the "debug" loglevel when built with NDEBUG. X-Git-Tag: v3_10_rc1~86 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ae1a96602f9cd542605cc31c7addf82494cbf4c4?ds=sidebyside Do not use the "debug" loglevel when built with NDEBUG. --- 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 ");