From: Frederic Suter Date: Wed, 3 Feb 2016 09:42:51 +0000 (+0100) Subject: duplicate of tools/MSG_visualization/colorize.pl X-Git-Tag: v3_13~990 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/119d4eeddd6d28210d44f66ae8cca6fc0a4fb953 duplicate of tools/MSG_visualization/colorize.pl no need for two instances. that in MSG_visualization is the one copied as $INSTALL_PATH/bin/simgrid-colorizer --- diff --git a/tools/tesh/CMakeLists.txt b/tools/tesh/CMakeLists.txt index b0a018cde8..ee5d60ac9d 100644 --- a/tools/tesh/CMakeLists.txt +++ b/tools/tesh/CMakeLists.txt @@ -36,7 +36,6 @@ set(xml_files set(bin_files ${bin_files} ${CMAKE_CURRENT_SOURCE_DIR}/tesh.pl - ${CMAKE_CURRENT_SOURCE_DIR}/colorize.pl ${CMAKE_CURRENT_SOURCE_DIR}/generate_tesh PARENT_SCOPE ) diff --git a/tools/tesh/colorize.pl b/tools/tesh/colorize.pl deleted file mode 100755 index 88b1f55e86..0000000000 --- a/tools/tesh/colorize.pl +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env perl - -# Copyright (c) 2010, 2014. The SimGrid Team. -# All rights reserved. - -# This program is free software; you can redistribute it and/or modify it -# under the terms of the license (GNU LGPL) which comes with this package. - -use warnings; - -use Term::ANSIColor qw{:constants}; -$Term::ANSIColor::AUTORESET = 1; - -while(<>){ - if($_ =~ m/^(\d+\:\s)?[-]\s.*/){ - print BOLD RED $_; - }elsif ($_ =~ m/^(\d+\:\s)?[+]\s.*/){ - print BOLD GREEN $_; - }else{ - print BOLD $_; - } -} - -