aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pkt_gen/testcenter/testcenter-rfc2544-throughput.py
diff options
context:
space:
mode:
authorOtto Sabart <osabart@redhat.com>2016-10-10 10:46:19 +0200
committerOtto Sabart <seberm@seberm.com>2016-10-11 12:33:14 +0000
commita4e76fdb316d3f7901f24f36e077c6936bd679c2 (patch)
tree806176fdae12527173bdf64ddeaf1287f55b51cd /tools/pkt_gen/testcenter/testcenter-rfc2544-throughput.py
parent1dfb1ffbcedf8208c14343fa4b8a7f125ff3a30d (diff)
vsperf: launch should not depend on current $PWD
JIRA: VSPERF-392 Change-Id: I44866b7d3298617003b87b015eb08bf32c4014f7 Signed-off-by: Otto Sabart <osabart@redhat.com>
Diffstat (limited to 'tools/pkt_gen/testcenter/testcenter-rfc2544-throughput.py')
-rw-r--r--tools/pkt_gen/testcenter/testcenter-rfc2544-throughput.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/pkt_gen/testcenter/testcenter-rfc2544-throughput.py b/tools/pkt_gen/testcenter/testcenter-rfc2544-throughput.py
index becf7877..239fd109 100644
--- a/tools/pkt_gen/testcenter/testcenter-rfc2544-throughput.py
+++ b/tools/pkt_gen/testcenter/testcenter-rfc2544-throughput.py
@@ -22,6 +22,7 @@ TestCenter command sequencer. This test supports Python 2.7.
from __future__ import print_function
import argparse
import os
+from conf import settings
def create_dir(path):
@@ -129,7 +130,7 @@ def main():
dest="test_session_name")
optionalnamed.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")
optionalnamed.add_argument("--csv_results_file_prefix",