[uClibc-cvs] svn commit: trunk/uClibc/test: args assert crypt ctype dlopen malloc ma etc...
vapier at uclibc.org
vapier at uclibc.org
Wed Jun 29 23:11:00 UTC 2005
Author: vapier
Date: 2005-06-29 17:10:59 -0600 (Wed, 29 Jun 2005)
New Revision: 10633
Log:
simplify TESTDIR setting and touchup
Modified:
trunk/uClibc/test/args/Makefile
trunk/uClibc/test/assert/Makefile
trunk/uClibc/test/crypt/Makefile
trunk/uClibc/test/ctype/Makefile
trunk/uClibc/test/dlopen/Makefile
trunk/uClibc/test/malloc/Makefile
trunk/uClibc/test/math/Makefile
trunk/uClibc/test/misc/Makefile
trunk/uClibc/test/mmap/Makefile
trunk/uClibc/test/pthread/Makefile
trunk/uClibc/test/pwd_grp/Makefile
trunk/uClibc/test/setjmp/Makefile
trunk/uClibc/test/signal/Makefile
trunk/uClibc/test/silly/Makefile
trunk/uClibc/test/stat/Makefile
trunk/uClibc/test/stdlib/Makefile
trunk/uClibc/test/string/Makefile
trunk/uClibc/test/termios/Makefile
trunk/uClibc/test/unistd/Makefile
Changeset:
Modified: trunk/uClibc/test/args/Makefile
===================================================================
--- trunk/uClibc/test/args/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/args/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,10 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
-
TARGETS=arg_test
all: $(TARGETS)
@@ -36,5 +34,3 @@
clean:
$(RM) *.[oa] *~ core $(TARGETS)
-
-
Modified: trunk/uClibc/test/assert/Makefile
===================================================================
--- trunk/uClibc/test/assert/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/assert/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,10 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
-
TARGETS=assert
all: $(TARGETS)
@@ -36,5 +34,3 @@
clean:
$(RM) *.[oa] *~ core $(TARGETS)
-
-
Modified: trunk/uClibc/test/crypt/Makefile
===================================================================
--- trunk/uClibc/test/crypt/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/crypt/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,11 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+include ../Rules.mak
-
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
-
TARGETS=crypt md5c-test
EXTRA_LIBS=-lcrypt
Modified: trunk/uClibc/test/ctype/Makefile
===================================================================
--- trunk/uClibc/test/ctype/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/ctype/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,8 +16,7 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
TARGETS=ctype ctype_run
all: $(TARGETS)
Modified: trunk/uClibc/test/dlopen/Makefile
===================================================================
--- trunk/uClibc/test/dlopen/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/dlopen/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -15,10 +15,9 @@
# You should have received a copy of the GNU Library 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
-# Makefile for uClibc
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
+
DEBUG_LIBS=X
#DEBUG_LIBS=LD_DEBUG
Modified: trunk/uClibc/test/malloc/Makefile
===================================================================
--- trunk/uClibc/test/malloc/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/malloc/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,10 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
-
TARGETS=malloc
TARGETS+=testmalloc testmalloc_glibc
TARGETS+=mallocbug mallocbug_glibc
Modified: trunk/uClibc/test/math/Makefile
===================================================================
--- trunk/uClibc/test/math/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/math/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,10 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+include ../Rules.mak
-
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
CFLAGS+=-D_GNU_SOURCE -DNO_LONG_DOUBLE
EXTRA_LIBS=-lm
PERL=/usr/bin/perl
Modified: trunk/uClibc/test/misc/Makefile
===================================================================
--- trunk/uClibc/test/misc/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/misc/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,8 +16,7 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
CFLAGS64=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
Modified: trunk/uClibc/test/mmap/Makefile
===================================================================
--- trunk/uClibc/test/mmap/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/mmap/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,10 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
-
TARGETS=mmap
all: $(TARGETS)
Modified: trunk/uClibc/test/pthread/Makefile
===================================================================
--- trunk/uClibc/test/pthread/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/pthread/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -1,6 +1,23 @@
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+# Makefile for uClibc
+#
+# Copyright (C) 2000,2001 Erik Andersen <andersen at uclibc.org>
+#
+# This program is free software; you can redistribute it and/or modify it under
+# the terms of the GNU Library 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 Library General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Library 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 ../Rules.mak
+
LDFLAGS +=
#EXTRA_LIBS += -lc -lgcc -lpthread
EXTRA_LIBS += -lpthread
Modified: trunk/uClibc/test/pwd_grp/Makefile
===================================================================
--- trunk/uClibc/test/pwd_grp/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/pwd_grp/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,10 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
-
TARGETS=test_pwd test_pwd_glibc
TARGETS+=test_grp test_grp_glibc
TARGETS+=pwcat pwcat_glibc
Modified: trunk/uClibc/test/setjmp/Makefile
===================================================================
--- trunk/uClibc/test/setjmp/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/setjmp/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,10 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
-
TARGETS=setjmp_test
all: $(TARGETS)
Modified: trunk/uClibc/test/signal/Makefile
===================================================================
--- trunk/uClibc/test/signal/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/signal/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,8 +16,7 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
CFLAGS += -D_GNU_SOURCE
Modified: trunk/uClibc/test/silly/Makefile
===================================================================
--- trunk/uClibc/test/silly/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/silly/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,11 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
-
-
TARGETS=hello_source hello hello_glibc tiny
all: $(TARGETS)
Modified: trunk/uClibc/test/stat/Makefile
===================================================================
--- trunk/uClibc/test/stat/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/stat/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,8 +16,7 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
CFLAGS64=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
Modified: trunk/uClibc/test/stdlib/Makefile
===================================================================
--- trunk/uClibc/test/stdlib/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/stdlib/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,11 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
-
-
TARGETS+=teststrtol teststrtol_glibc teststrtol_diff
TARGETS+=qsort qsort_glibc qsort_diff
TARGETS+=teston_exit teston_exit_glibc teston_exit_diff
Modified: trunk/uClibc/test/string/Makefile
===================================================================
--- trunk/uClibc/test/string/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/string/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,10 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
-
TARGETS=string string_glibc
TARGETS+=testcopy testcopy_glibc
TARGETS+=#strerror #strsignal
Modified: trunk/uClibc/test/termios/Makefile
===================================================================
--- trunk/uClibc/test/termios/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/termios/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,11 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
-
-
TARGETS=termios termios_glibc
all: $(TARGETS)
Modified: trunk/uClibc/test/unistd/Makefile
===================================================================
--- trunk/uClibc/test/unistd/Makefile 2005-06-29 23:06:49 UTC (rev 10632)
+++ trunk/uClibc/test/unistd/Makefile 2005-06-29 23:10:59 UTC (rev 10633)
@@ -16,11 +16,8 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
+include ../Rules.mak
-
-
TARGETS=fork fork_glibc vfork vfork_glibc getcwd getopt getopt_long preadwrite
all: $(TARGETS)
More information about the uClibc-cvs
mailing list