fw update: pldm package parser tests

Test that the package parser correctly parses a pldm fw package.

https://github.com/openbmc/docs/blob/master/designs/code-update.md

Tested: unit tests pass

Change-Id: If21cd4c7136a7a0297eb4b3cadbec92c277af27c
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/test/common/pldm/meson.build b/test/common/pldm/meson.build
new file mode 100644
index 0000000..519d110
--- /dev/null
+++ b/test/common/pldm/meson.build
@@ -0,0 +1,27 @@
+
+testcases = [
+  'test_pldm_package_parser',
+]
+
+foreach t : testcases
+  test(
+    t,
+    executable(
+      t,
+      f'@t@.cpp',
+      include_directories: [
+        common_include,
+      ],
+      dependencies: [
+        libpldm_dep,
+        phosphor_logging_dep,
+        gtest,
+      ],
+      link_with: [
+        libpldmutil,
+        libpldmcreatepkg,
+      ]
+    )
+  )
+endforeach
+