From: amalec Date: Fri, 1 Jun 2001 15:44:43 +0000 (+0000) Subject: GNUified source files with copyright notice X-Git-Tag: 0.10.0~1120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9f165346cfea68d73dff0d08bcb388038188741;p=check GNUified source files with copyright notice git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@21 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/check/Makefile.in b/check/Makefile.in index f49e2f4..b8c5b4c 100644 --- a/check/Makefile.in +++ b/check/Makefile.in @@ -64,6 +64,8 @@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ RANLIB = @RANLIB@ VERSION = @VERSION@ +have_lyx = @have_lyx@ +have_sgmltools = @have_sgmltools@ SUBDIRS = src tests doc diff --git a/check/src/Makefile.in b/check/src/Makefile.in index 5769360..d07e791 100644 --- a/check/src/Makefile.in +++ b/check/src/Makefile.in @@ -64,6 +64,8 @@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ RANLIB = @RANLIB@ VERSION = @VERSION@ +have_lyx = @have_lyx@ +have_sgmltools = @have_sgmltools@ lib_LIBRARIES = libcheck.a diff --git a/check/src/check.c b/check/src/check.c index ef8f75d..9ef86a5 100644 --- a/check/src/check.c +++ b/check/src/check.c @@ -1,3 +1,21 @@ +/* + Check: a unit test framework for C + Copyright (C) 2001, Arien Malec + + 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 #include "error.h" #include "list.h" diff --git a/check/src/check.h b/check/src/check.h index b14d8b1..6e8d926 100644 --- a/check/src/check.h +++ b/check/src/check.h @@ -1,6 +1,25 @@ #ifndef CHECK_H #define CHECK_H +/* + Check: a unit test framework for C + Copyright (C) 2001, Arien Malec + + 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. +*/ + /* Magic values */ enum { CMAXMSG = 100, /* maximum length of a message, including terminating nul */ diff --git a/check/src/check_impl.h b/check/src/check_impl.h index 8f97a68..2354076 100644 --- a/check/src/check_impl.h +++ b/check/src/check_impl.h @@ -1,6 +1,25 @@ #ifndef CHECK_IMPL_H #define CHECK_IMPL_H +/* + Check: a unit test framework for C + Copyright (C) 2001, Arien Malec + + 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. +*/ + /* This header should be included by any module that needs to know the implementation details of the check structures Include list.h before this header diff --git a/check/src/check_msg.c b/check/src/check_msg.c index afcd275..76247bc 100644 --- a/check/src/check_msg.c +++ b/check/src/check_msg.c @@ -1,3 +1,22 @@ +/* + Check: a unit test framework for C + Copyright (C) 2001, Arien Malec + + 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 #include #include diff --git a/check/src/check_msg.h b/check/src/check_msg.h index a510b4d..76ab94a 100644 --- a/check/src/check_msg.h +++ b/check/src/check_msg.h @@ -1,6 +1,25 @@ #ifndef CHECK_MSG_H #define CHECK_MSG_H +/* + Check: a unit test framework for C + Copyright (C) 2001, Arien Malec + + 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. +*/ + /* Functions implementing messaging during test runs */ /* check.h must be included before this header */ diff --git a/check/src/check_run.c b/check/src/check_run.c index eeef8cf..3e9cbfb 100644 --- a/check/src/check_run.c +++ b/check/src/check_run.c @@ -1,3 +1,22 @@ +/* + Check: a unit test framework for C + Copyright (C) 2001, Arien Malec + + 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 #include #include diff --git a/check/src/error.c b/check/src/error.c index 8fcb04d..f2227a2 100644 --- a/check/src/error.c +++ b/check/src/error.c @@ -5,6 +5,25 @@ #include #include "error.h" +/* + Check: a unit test framework for C + Copyright (C) 2001, Arien Malec + + 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. +*/ + void eprintf (char *fmt, ...) { va_list args; diff --git a/check/src/error.h b/check/src/error.h index cca87cc..01c2e13 100644 --- a/check/src/error.h +++ b/check/src/error.h @@ -1,6 +1,25 @@ #ifndef ERROR_H #define ERROR_H +/* + Check: a unit test framework for C + Copyright (C) 2001, Arien Malec + + 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 stdlib.h beforehand */ /* Print error message and die diff --git a/check/src/list.c b/check/src/list.c index fa7d3e5..5e2d04a 100644 --- a/check/src/list.c +++ b/check/src/list.c @@ -2,6 +2,25 @@ #include "list.h" #include "error.h" +/* + Check: a unit test framework for C + Copyright (C) 2001, Arien Malec + + 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. +*/ + enum { LINIT = 1, LGROW = 2 diff --git a/check/src/list.h b/check/src/list.h index 0521011..65cb24f 100644 --- a/check/src/list.h +++ b/check/src/list.h @@ -1,6 +1,25 @@ #ifndef LIST_H #define LIST_H +/* + Check: a unit test framework for C + Copyright (C) 2001, Arien Malec + + 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. +*/ + typedef struct List List; /* Create an empty list */ diff --git a/check/tests/Makefile.in b/check/tests/Makefile.in index c3b97b0..0f47345 100644 --- a/check/tests/Makefile.in +++ b/check/tests/Makefile.in @@ -64,6 +64,8 @@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ RANLIB = @RANLIB@ VERSION = @VERSION@ +have_lyx = @have_lyx@ +have_sgmltools = @have_sgmltools@ TESTS = check_check check_list check_check_msg