From: Martin Klozik Date: Thu, 9 Jul 2015 03:22:06 +0000 (+0100) Subject: Support of windows drive letter in path to result dir. X-Git-Tag: brahmaputra.1.0~135 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F98%2F998%2F2;p=vswitchperf.git Support of windows drive letter in path to result dir. Parsing of path with IxNetwork test results has been fixed to accept also windows drive letter. Change affects parsing of TRAFFICGEN_IXNET_TESTER_RESULT_DIR configuration parameter. Modified file: * tools/pkt_gen/ixnet/ixnet.py JIRA: VSPERF-27 Change-Id: I3dd6123e051952e6fd3f83cd9691341472d2960e Signed-off-by: Martin Klozik Reviewed-by: Maryam Tahhan Reviewed-by: Billy O Mahony Reviewed-by: Dino Simeon Madarang Reviewed-by: Radek Zetik Reviewed-by: Eugene Snider Reviewed-by: Gurpreet Singh Reviewed-by: Tv Rao --- diff --git a/tools/pkt_gen/ixnet/ixnet.py b/tools/pkt_gen/ixnet/ixnet.py index 5deca8d6..644a376f 100755 --- a/tools/pkt_gen/ixnet/ixnet.py +++ b/tools/pkt_gen/ixnet/ixnet.py @@ -95,7 +95,7 @@ from core.results.results_constants import ResultsConstants _ROOT_DIR = os.path.dirname(os.path.realpath(__file__)) _RESULT_RE = r'(?:\{kString,result\},\{kString,)(\w+)(?:\})' -_RESULTPATH_RE = r'(?:\{kString,resultPath\},\{kString,)([\\\w\.\-]+)(?:\})' +_RESULTPATH_RE = r'(?:\{kString,resultPath\},\{kString,)([\\\w\.\-\:]+)(?:\})' def _build_set_cmds(values, prefix='dict set'):