aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/autogen
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2018-09-21 14:24:24 +0200
committerVratko Polak <vrpolak@cisco.com>2018-09-21 14:25:09 +0200
commitbb0f69d12e0e509c58bb5b8116d73bb585a4ea09 (patch)
treeb2e171fa0e92b47da422645a147faa42852fe2bd /resources/libraries/python/autogen
parentdea603c08a0afdab48af34bba7463f9029218aa2 (diff)
Fix autogen regenerator and few suites
+ "elif" instead of "else if". + Some suites had test cases reordered. + Some suites contained 9000B cases for avf. Change-Id: I3bf8241c317f20dbf66b497a2c8be35ef71307f5 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/autogen')
-rw-r--r--resources/libraries/python/autogen/Regenerator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/autogen/Regenerator.py b/resources/libraries/python/autogen/Regenerator.py
index 1c265c3f3c..c0937df4e8 100644
--- a/resources/libraries/python/autogen/Regenerator.py
+++ b/resources/libraries/python/autogen/Regenerator.py
@@ -97,7 +97,7 @@ class Regenerator(object):
if kwargs["framesize"] == 9000 and "vic1227" in iface:
# Not supported in HW.
pass
- else if kwargs["framesize"] == 9000 and "avf" in suite_id:
+ elif kwargs["framesize"] == 9000 and "avf" in suite_id:
# Not supported by AVF driver.
# https://git.fd.io/vpp/tree/src/plugins/avf/README.md
pass
quot;Hacking cmdline to make VPP interactive.") vpp_cmdline.insert(vpp_cmdline.index("nodaemon"), "interactive") print("VPP cmdline is %s" % " ".join(vpp_cmdline)) print("Running GDB.") if os.path.isfile(gdb_path) and os.access(gdb_path, os.X_OK): gdb_cmdline = "%s --args %s " % (gdb_path, " ".join(vpp_cmdline)) print("GDB cmdline is %s" % gdb_cmdline) gdb = pexpect.spawn(gdb_cmdline) gdb.interact() try: gdb.terminate(True) except: pass if gdb.isalive(): raise Exception("GDB refused to die...") else: sys.stderr.write("Debugger '%s' does not exist or is not " "an executable..\n" % gdb_path)