From a4e76fdb316d3f7901f24f36e077c6936bd679c2 Mon Sep 17 00:00:00 2001 From: Otto Sabart Date: Mon, 10 Oct 2016 10:46:19 +0200 Subject: vsperf: launch should not depend on current $PWD JIRA: VSPERF-392 Change-Id: I44866b7d3298617003b87b015eb08bf32c4014f7 Signed-off-by: Otto Sabart --- tools/pkt_gen/testcenter/testcenter-rfc2544-rest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/pkt_gen/testcenter/testcenter-rfc2544-rest.py') diff --git a/tools/pkt_gen/testcenter/testcenter-rfc2544-rest.py b/tools/pkt_gen/testcenter/testcenter-rfc2544-rest.py index 91f7e27f..538d8a8a 100644 --- a/tools/pkt_gen/testcenter/testcenter-rfc2544-rest.py +++ b/tools/pkt_gen/testcenter/testcenter-rfc2544-rest.py @@ -22,6 +22,7 @@ TestCenter REST APIs. This test supports Python 3.4 import argparse import logging import os +from conf import settings logger = logging.getLogger(__name__) @@ -141,7 +142,7 @@ def main(): dest="test_user_name") optional_named.add_argument("--results_dir", required=False, - default="./Results", + default=settings.getValue("TRAFFICGEN_STC_RESULTS_DIR"), help="The directory to copy results to", dest="results_dir") optional_named.add_argument("--csv_results_file_prefix", -- cgit 1.2.3-korg