svn commit: trunk/uClibc/test/pwd_grp

vapier at uclibc.org vapier at uclibc.org
Sat Feb 11 04:28:29 UTC 2006


Author: vapier
Date: 2006-02-10 20:28:28 -0800 (Fri, 10 Feb 2006)
New Revision: 13911

Log:
allow for controlling of uclibc vs glibc tests until this gets converted into new style test framework

Modified:
   trunk/uClibc/test/pwd_grp/Makefile


Changeset:
Modified: trunk/uClibc/test/pwd_grp/Makefile
===================================================================
--- trunk/uClibc/test/pwd_grp/Makefile	2006-02-11 04:27:49 UTC (rev 13910)
+++ trunk/uClibc/test/pwd_grp/Makefile	2006-02-11 04:28:28 UTC (rev 13911)
@@ -18,12 +18,20 @@
 
 include ../Rules.mak
 
-TARGETS=test_pwd test_pwd_glibc
-TARGETS+=test_grp test_grp_glibc
-TARGETS+=pwcat pwcat_glibc
-TARGETS+=grcat grcat_glibc
-TARGETS+=getgroups getgroups_glibc
+U_TARGETS := test_pwd test_grp pwcat grcat getgroups
+G_TARGETS := $(patsubst %,%_glibc,$(U_TARGETS))
+
+TARGETS   :=
+ifeq ($(GLIBC_ONLY),)
+TARGETS   += $(U_TARGETS)
+endif
+ifeq ($(UCLIBC_ONLY),)
+TARGETS   += $(G_TARGETS)
+endif
+
+ifeq ($(GLIBC_ONLY),$(UCLIBC_ONLY))
 TARGETS+=test_pwd_diff test_grp_diff pwcat_diff grcat_diff getgroups_diff
+endif
 
 all: $(TARGETS)
 




More information about the uClibc-cvs mailing list