Add unit test for Attention class

Signed-off-by: austinfcui <austinfcui@gmail.com>
Change-Id: Ia1f451b7e990ecdf29903944e12c5a9ea5585eeb
diff --git a/test/meson.build b/test/meson.build
index 2f04365..82c972e 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -229,3 +229,24 @@
                  cpp_args: test_arg, include_directories: incdir)
 
 test(tc, exe, env: var)
+
+################################################################################
+
+tc = 'test-attention'
+
+src = [
+  files(
+    tc + '.cpp',
+  ),
+  pdbg_test_dtb,
+]
+
+dep = [ gtest_dep ]
+
+var = [ pdbg_env ]
+
+exe = executable(tc.underscorify(), src, dependencies: dep,
+                 link_with : hwdiags_libs,
+                 cpp_args: test_arg, include_directories: incdir)
+
+test(tc, exe, env: var)