Autogen: Fix typo affecting DPDK 50/24750/1
authorVratko Polak <vrpolak@cisco.com>
Mon, 3 Feb 2020 12:15:49 +0000 (13:15 +0100)
committerJan Gelety <jgelety@cisco.com>
Mon, 3 Feb 2020 12:36:11 +0000 (12:36 +0000)
With the typo, only the first type+nic combination is generated.
With fix, all combinations are generated.

Change-Id: Ieb2db31cebed4940b063505b70f4d12a30da489c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit 7a035831fc06de7849876b782bf6f97136a39208)

resources/libraries/python/autogen/Regenerator.py

index 3ef4e85..5cd8bcc 100644 (file)
@@ -251,7 +251,7 @@ def write_default_files(in_filename, in_prolog, kwargs_list):
                     add_default_testcases(
                         testcase, iface, old_suite_id, file_out, kwargs_list
                     )
-                return
+                continue
             for driver in Constants.NIC_NAME_TO_DRIVER[nic_name]:
                 out_filename = replace_defensively(
                     tmp2_filename, old_suite_id,