aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/autogen/Regenerator.py
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2020-01-15 06:29:16 +0000
committerVratko Polak <vrpolak@cisco.com>2020-01-30 12:33:27 +0000
commit05b4d8467e827db099832e560e3a801466b9417e (patch)
treeb48522fb2c6cb05ed68d01c87f1dae4d2c882da8 /resources/libraries/python/autogen/Regenerator.py
parent5643fb70fb8bd567e165074a0ccf8600e8d5b251 (diff)
perf: Add hoststack NSIM+LDPRELOAD+IPERF3 test suite
Change-Id: Ia7a876b1aa240676e1f2d23618c1d4e09ead14f0 Signed-off-by: Dave Wallace <dwallacelf@gmail.com> (cherry picked from commit d79b753c1fde3cd831f60ac5cc0034f613c44b43)
Diffstat (limited to 'resources/libraries/python/autogen/Regenerator.py')
-rw-r--r--resources/libraries/python/autogen/Regenerator.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/resources/libraries/python/autogen/Regenerator.py b/resources/libraries/python/autogen/Regenerator.py
index f065887da0..3ef4e8554d 100644
--- a/resources/libraries/python/autogen/Regenerator.py
+++ b/resources/libraries/python/autogen/Regenerator.py
@@ -512,10 +512,12 @@ class Regenerator:
elif in_filename[-10:] in (u"-cps.robot", u"-rps.robot"):
write_tcp_files(in_filename, in_prolog,
hoststack_wrk_kwargs_list)
- elif in_filename[-10:] in u"-bps.robot":
- write_tcp_files(in_filename, in_prolog,
- hoststack_iperf3_kwargs_list if u"iperf3"
- in in_filename else hoststack_quic_kwargs_list)
+ elif in_filename[-10:] in (u"-bps.robot"):
+ if u"ldpreload-iperf3" in in_filename:
+ hoststack_kwargs_list = hoststack_iperf3_kwargs_list
+ else:
+ hoststack_kwargs_list = hoststack_quic_kwargs_list
+ write_tcp_files(in_filename, in_prolog, hoststack_kwargs_list)
else:
raise RuntimeError(
f"Error in {in_filename}: non-primary suite type found."