[V1] tests/efd: supports simultaneous compilation of examples

Message ID 20230506032735.433435-1-yux.jiang@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/efd: supports simultaneous compilation of examples |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test success Testing OK

Commit Message

Yu Jiang May 6, 2023, 3:27 a.m. UTC
  supports simultaneous compilation of examples

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 tests/TestSuite_efd.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
  

Comments

Tu, Lijuan May 25, 2023, 2:31 a.m. UTC | #1
On Sat,  6 May 2023 11:27:35 +0800, Yu Jiang <yux.jiang@intel.com> wrote:
> supports simultaneous compilation of examples
> 
> Signed-off-by: Yu Jiang <yux.jiang@intel.com>


Applied, thanks
  

Patch

diff --git a/tests/TestSuite_efd.py b/tests/TestSuite_efd.py
index 9d94a3d4..8f4c70f6 100644
--- a/tests/TestSuite_efd.py
+++ b/tests/TestSuite_efd.py
@@ -35,11 +35,9 @@  class TestEFD(TestCase):
         self.pktgen_helper = PacketGeneratorHelper()
 
     def build_server_node_efd(self):
-        apps = ["node", "server"]
-        for app in apps:
-            out = self.dut.build_dpdk_apps("./examples/server_node_efd/%s" % app)
-            self.verify("Error" not in out, "Compilation %s error" % app)
-            self.verify("No such" not in out, "Compilation %s error" % app)
+        self.dut.build_dpdk_apps(
+            "./examples/server_node_efd/server,server_node_efd/node"
+        )
 
     def set_up(self):
         """