aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-03-20 00:28:36 +0000
committerEvan Huus <eapache@gmail.com>2013-03-20 00:28:36 +0000
commit4ef09071b54a470f9dff183b0136691a95bb707a (patch)
treee12bd8122015142aef4b532c5637f07c5179f5e5 /epan/wmem
parent8a874b238eccfcbd46df77ef0cc7d2fb86018876 (diff)
Add empty placeholder wmem test suite. Hopefully my automake skills were
up for the challenge. svn path=/trunk/; revision=48436
Diffstat (limited to 'epan/wmem')
-rw-r--r--epan/wmem/Makefile.am8
-rw-r--r--epan/wmem/wmem_test.c44
2 files changed, 51 insertions, 1 deletions
diff --git a/epan/wmem/Makefile.am b/epan/wmem/Makefile.am
index 72e7e5889a..de37727a1e 100644
--- a/epan/wmem/Makefile.am
+++ b/epan/wmem/Makefile.am
@@ -33,6 +33,11 @@ AM_CPPFLAGS = \
noinst_LTLIBRARIES = libwmem.la
+noinst_PROGRAMS = wmem_test
+wmem_test_LDADD = \
+ libwmem.la \
+ $(GLIB_LIBS)
+
CLEANFILES = \
libwmem.a \
libwmem.la \
@@ -49,7 +54,8 @@ libwmem_la_SOURCES = \
EXTRA_DIST = \
Makefile.common \
- Makefile.nmake
+ Makefile.nmake \
+ wmem_test.c
checkapi:
$(PERL) ../../tools/checkAPIs.pl -g termoutput -build \
diff --git a/epan/wmem/wmem_test.c b/epan/wmem/wmem_test.c
new file mode 100644
index 0000000000..46794d576f
--- /dev/null
+++ b/epan/wmem/wmem_test.c
@@ -0,0 +1,44 @@
+/* wmem_test.c
+ * Wireshark Memory Manager Tests
+ * Copyright 2012, Evan Huus <eapache@gmail.com>
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+int main(void);
+
+int main(void)
+{
+ return 0;
+}
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */