[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
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
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
@@ -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):
"""