File tree 1 file changed +6
-4
lines changed
microsoft/testsuites/dpdk
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -333,6 +333,7 @@ def get_installed_version(self) -> VersionInfo:
333
333
)
334
334
335
335
def _get_meson_parameters (self ) -> str :
336
+ enable_examples = ""
336
337
# enable any apps we need (namely, testpmd)
337
338
enable_apps = "-Denable_apps=" + "," .join (self ._enable_apps )
338
339
# add net/mana to the pmd list if we need it
@@ -341,14 +342,15 @@ def _get_meson_parameters(self) -> str:
341
342
# build the driver enable arg
342
343
enable_drivers = "-Denable_drivers=" + "," .join (self ._enable_drivers )
343
344
# add any needed -Dc_flags or -Dc_link_args arguments
345
+ if self ._sample_applications :
346
+ enable_examples = f"-Dexamples={ ',' .join (self ._sample_applications )} "
347
+
344
348
c_args = self ._get_c_arguments ()
345
- return " " .join ([c_args , enable_apps , enable_drivers ])
349
+
350
+ return " " .join ([c_args , enable_apps , enable_drivers , enable_examples ])
346
351
347
352
def _install (self ) -> None :
348
353
super ()._install ()
349
- if self ._sample_applications :
350
- self ._meson_arguments = f"-Dexamples={ ',' .join (self ._sample_applications )} "
351
-
352
354
node = self ._node
353
355
# save the pythonpath for later
354
356
python_path = node .tools [Python ].get_python_path ()
You can’t perform that action at this time.
0 commit comments