[maemo-commits] [maemo-commits] r16260 - in projects/haf/trunk/sapwood: . tests

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Sep 29 14:13:47 EEST 2008
Author: herzi
Date: 2008-09-29 14:13:43 +0300 (Mon, 29 Sep 2008)
New Revision: 16260

Added:
   projects/haf/trunk/sapwood/tests/double-free.c
Modified:
   projects/haf/trunk/sapwood/ChangeLog
   projects/haf/trunk/sapwood/tests/Makefile.am
Log:
2008-09-29  Sven Herzberg  <sven at imendio.com>

	Added the first testcase

	* tests/Makefile.am,


Modified: projects/haf/trunk/sapwood/ChangeLog
===================================================================
--- projects/haf/trunk/sapwood/ChangeLog	2008-09-29 11:13:38 UTC (rev 16259)
+++ projects/haf/trunk/sapwood/ChangeLog	2008-09-29 11:13:43 UTC (rev 16260)
@@ -1,5 +1,12 @@
 2008-09-29  Sven Herzberg  <sven at imendio.com>
 
+	Added the first testcase
+
+	* tests/Makefile.am,
+	* tests/double-free.c: the first testcase
+
+2008-09-29  Sven Herzberg  <sven at imendio.com>
+
 	Added --enable-debug to define ENABLE_DEBUG properly; define
 	automatically for developer builds
 

Modified: projects/haf/trunk/sapwood/tests/Makefile.am
===================================================================
--- projects/haf/trunk/sapwood/tests/Makefile.am	2008-09-29 11:13:38 UTC (rev 16259)
+++ projects/haf/trunk/sapwood/tests/Makefile.am	2008-09-29 11:13:43 UTC (rev 16260)
@@ -1,3 +1,7 @@
 include $(top_srcdir)/Makefile.decl
 
+noinst_PROGRAMS = $(TEST_PROGS)
 
+TEST_PROGS+=double-free
+double_free_SOURCES=double-free.c
+

Added: projects/haf/trunk/sapwood/tests/double-free.c
===================================================================
--- projects/haf/trunk/sapwood/tests/double-free.c	2008-09-29 11:13:38 UTC (rev 16259)
+++ projects/haf/trunk/sapwood/tests/double-free.c	2008-09-29 11:13:43 UTC (rev 16260)
@@ -0,0 +1,32 @@
+/* This file is part of GTK+ Sapwood Engine
+ *
+ * AUTHORS
+ *     Sven Herzberg  <sven at imendio.com>
+ *
+ * Copyright (C) 2008  Nokia Corporation
+ *
+ * This work is provided "as is"; redistribution and modification
+ * in whole or in part, in any medium, physical or electronic is
+ * permitted without restriction.
+ *
+ * This work 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.
+ *
+ * In no event shall the authors or contributors be liable for any
+ * direct, indirect, incidental, special, exemplary, or consequential
+ * damages (including, but not limited to, procurement of substitute
+ * goods or services; loss of use, data, or profits; or business
+ * interruption) however caused and on any theory of liability, whether
+ * in contract, strict liability, or tort (including negligence or
+ * otherwise) arising in any way out of the use of this software, even
+ * if advised of the possibility of such damage.
+ */
+
+int
+main (int   argc,
+      char**argv)
+{
+  return 0;
+}
+


More information about the maemo-commits mailing list