Set up GNU Autotest infrastructure

Test files are moved from CommonLibs/ to tests/CommonLibs/.
Some tests are disabled in autotest because they generate timedate
related output which cannot exactly match against expected output.

Change-Id: I3d6ba625968be09297642d18090c496490e9b8fc
diff --git a/configure.ac b/configure.ac
index 1a9712a..3ad4b41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,7 @@
 AC_CONFIG_AUX_DIR([.])
 AC_CONFIG_MACRO_DIR([config])
 AM_CONFIG_HEADER(config.h)
+AC_CONFIG_TESTDIR(tests)
 
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
@@ -171,6 +172,8 @@
     Transceiver52M/Makefile \
     Transceiver52M/arm/Makefile \
     Transceiver52M/x86/Makefile \
+    tests/Makefile \
+    tests/CommonLibs/Makefile \
 ])
 
 AC_OUTPUT