Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DPDK: Add 32bit test #3489

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Meson: fix dumb bug from merge (compile sample apps)
  • Loading branch information
mcgov committed Jan 22, 2025
commit e27e13cb34d48d7a3267485d95526212d65f37bf
10 changes: 6 additions & 4 deletions microsoft/testsuites/dpdk/dpdktestpmd.py
Original file line number Diff line number Diff line change
@@ -333,6 +333,7 @@ def get_installed_version(self) -> VersionInfo:
)

def _get_meson_parameters(self) -> str:
enable_examples = ""
# enable any apps we need (namely, testpmd)
enable_apps = "-Denable_apps=" + ",".join(self._enable_apps)
# add net/mana to the pmd list if we need it
@@ -341,14 +342,15 @@ def _get_meson_parameters(self) -> str:
# build the driver enable arg
enable_drivers = "-Denable_drivers=" + ",".join(self._enable_drivers)
# add any needed -Dc_flags or -Dc_link_args arguments
if self._sample_applications:
enable_examples = f"-Dexamples={','.join(self._sample_applications)}"

c_args = self._get_c_arguments()
return " ".join([c_args, enable_apps, enable_drivers])

return " ".join([c_args, enable_apps, enable_drivers, enable_examples])

def _install(self) -> None:
super()._install()
if self._sample_applications:
self._meson_arguments = f"-Dexamples={','.join(self._sample_applications)}"

node = self._node
# save the pythonpath for later
python_path = node.tools[Python].get_python_path()
Loading
Oops, something went wrong.