svn commit: trunk/uClibc/test

aldot at uclibc.org aldot at uclibc.org
Fri Jul 11 18:56:18 UTC 2008


Author: aldot
Date: 2008-07-11 11:56:17 -0700 (Fri, 11 Jul 2008)
New Revision: 22795

Log:
- remove the error counter


Modified:
   trunk/uClibc/test/Makefile
   trunk/uClibc/test/Rules.mak
   trunk/uClibc/test/Test.mak


Changeset:
Modified: trunk/uClibc/test/Makefile
===================================================================
--- trunk/uClibc/test/Makefile	2008-07-11 18:08:16 UTC (rev 22794)
+++ trunk/uClibc/test/Makefile	2008-07-11 18:56:17 UTC (rev 22795)
@@ -42,16 +42,14 @@
 
 test check all: run
 
-run: compile subdirs_run
+run: subdirs_run
 
-compile:subdirs_compile
-	@echo 0 > $(COUNTER)
+compile: subdirs_compile
 
 tags:
 	ctags -R
 
 clean: subdirs_clean
-	@rm -f $(COUNTER)
 
 subdirs: $(patsubst %, _dir_%, $(DIRS))
 subdirs_compile: $(patsubst %, _dircompile_%, $(DIRS))

Modified: trunk/uClibc/test/Rules.mak
===================================================================
--- trunk/uClibc/test/Rules.mak	2008-07-11 18:08:16 UTC (rev 22794)
+++ trunk/uClibc/test/Rules.mak	2008-07-11 18:56:17 UTC (rev 22795)
@@ -13,8 +13,6 @@
 
 TESTDIR=$(top_builddir)test/
 
-COUNTER = $(TESTDIR).errcounter
-
 include $(top_builddir)/Rules.mak
 ifndef TEST_INSTALLED_UCLIBC
 ifdef UCLIBC_LDSO

Modified: trunk/uClibc/test/Test.mak
===================================================================
--- trunk/uClibc/test/Test.mak	2008-07-11 18:08:16 UTC (rev 22794)
+++ trunk/uClibc/test/Test.mak	2008-07-11 18:56:17 UTC (rev 22795)
@@ -65,18 +65,13 @@
 		test -z "$$expected_ret" && export expected_ret=0 ; \
 	if ! test $$ret -eq $$expected_ret ; then \
 		echo "ret == $$ret ; expected_ret == $$expected_ret" ; \
-		cat "$(binary_name).out" ; \
-		numerr="`cat $(COUNTER)`" ; \
-		expr $$numerr + 1 > $(COUNTER) ; \
+		exit 1 ; \
 	fi
 	$(SCAT) "$(binary_name).out"
 endef
 
 test check all: run
 run: $(RUN_TARGETS) compile
-	@numerr="`cat $(COUNTER)`" ; \
-	echo "Encountered $$numerr errors" ; \
-	test $$numerr -eq 0 || exit 1
 
 $(RUN_TARGETS): $(TARGETS)
 	$(exec_test)




More information about the uClibc-cvs mailing list