Autogen: Fix typo affecting DPDK 49/24749/1
authorVratko Polak <vrpolak@cisco.com>
Mon, 3 Feb 2020 12:15:49 +0000 (13:15 +0100)
committerVratko Polak <vrpolak@cisco.com>
Mon, 3 Feb 2020 12:15:49 +0000 (13:15 +0100)
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>
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,