From d65b73884cb876276b6bd73f4b1dfcd920984a8a Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Thu, 13 Mar 2003 06:18:06 +0000 Subject: 2003-03-13 Havoc Pennington * bus/test.c, bus/test.h, bus/Makefile.am, bus/test-main.c: set up a test framework as for the library --- bus/test-main.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 bus/test-main.c (limited to 'bus/test-main.c') diff --git a/bus/test-main.c b/bus/test-main.c new file mode 100644 index 00000000..27c06f48 --- /dev/null +++ b/bus/test-main.c @@ -0,0 +1,37 @@ +/* -*- mode: C; c-file-style: "gnu" -*- */ +/* test-main.c main() for make check + * + * Copyright (C) 2003 Red Hat, Inc. + * + * Licensed under the Academic Free License version 1.2 + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +#include "test.h" + +int +main (int argc, char **argv) +{ +#ifdef DBUS_BUILD_TESTS + + + + return 0; +#else /* DBUS_BUILD_TESTS */ + return 0; +#endif +} -- cgit