From 5a18476fe103e7af163c301d9a21b7b5ebe50e1a Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 31 May 2007 22:44:49 +0000 Subject: [PATCH] Add a way to the tesh syntax to log at CRITICAL level (to ease output grepping) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3541 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- tools/tesh/tesh.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/tesh/tesh.c b/tools/tesh/tesh.c index 3d3c7a9215..3ad2a7609b 100644 --- a/tools/tesh/tesh.c +++ b/tools/tesh/tesh.c @@ -74,6 +74,9 @@ static void handle_line(const char * filepos, char *line) { case 'p': INFO2("[%s] %s",filepos,line+2); break; + case 'P': + CRITICAL2("[%s] %s",filepos,line+2); + break; default: ERROR2("[%s] Syntax error: %s",filepos, line); -- 2.20.1