cmake: Add new tests to test suite

Bring functionality of the cmake build system up to autotools.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I2231b51cfd52460fb525b5af6893b0474508859b
diff --git a/tests/test_astlpc.c b/tests/test_astlpc.c
index 2253e99..aea2858 100644
--- a/tests/test_astlpc.c
+++ b/tests/test_astlpc.c
@@ -1,6 +1,9 @@
 /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */
 
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
+
 #include "libmctp-astlpc.h"
 #include "libmctp-log.h"