summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-04-10 01:33:47 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-04-10 01:33:47 +0200
commit8cd991b81fba1556a1378625fd5d55917393fdf0 (patch)
treeba96663b6a86ca2d5098a02c1c827976c441940d
parent455884d86eecbf699d74af7ff73fd05e4378251a (diff)
downloadofono-8cd991b81fba1556a1378625fd5d55917393fdf0.tar.bz2
Add skeleton for QCDM test program
-rw-r--r--Makefile.am7
-rw-r--r--gatchat/test-qcdm.c29
2 files changed, 33 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index dee4dc77..d89c47e7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -341,16 +341,17 @@ unit_test_caif_SOURCES = unit/test-caif.c $(gatchat_sources) \
unit_test_caif_LDADD = @GLIB_LIBS@
unit_objects += $(unit_test_caif_OBJECTS)
-noinst_PROGRAMS += gatchat/gsmdial gatchat/test-server
+noinst_PROGRAMS += gatchat/gsmdial gatchat/test-server gatchat/test-qcdm
gatchat_gsmdial_SOURCES = gatchat/gsmdial.c $(gatchat_sources)
-
gatchat_gsmdial_LDADD = @GLIB_LIBS@
gatchat_test_server_SOURCES = gatchat/test-server.c $(gatchat_sources)
-
gatchat_test_server_LDADD = @GLIB_LIBS@ -lutil
+gatchat_test_qcdm_SOURCES = gatchat/test-qcdm.c $(gatchat_sources)
+gatchat_test_qcdm_LDADD = @GLIB_LIBS@
+
DISTCHECK_CONFIGURE_FLAGS = --disable-datafiles
diff --git a/gatchat/test-qcdm.c b/gatchat/test-qcdm.c
new file mode 100644
index 00000000..ca304bcf
--- /dev/null
+++ b/gatchat/test-qcdm.c
@@ -0,0 +1,29 @@
+/*
+ *
+ * oFono - Open Source Telephony
+ *
+ * Copyright (C) 2008-2010 Intel Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+int main(int argc, char **argv)
+{
+ return 0;
+}