public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-projects commit in portage-utils/tests: Makefile
@ 2011-12-22 20:13 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2011-12-22 20:13 UTC (permalink / raw
  To: gentoo-commits

vapier      11/12/22 20:13:01

  Modified:             Makefile
  Log:
  start a testsuite for profile/config parsing

Revision  Changes    Path
1.9                  portage-utils/tests/Makefile

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?r1=1.8&r2=1.9

Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Makefile	2 Mar 2011 01:19:27 -0000	1.8
+++ Makefile	22 Dec 2011 20:13:01 -0000	1.9
@@ -1,7 +1,7 @@
 TESTS = \
 	reinitialize atom_compare atom_explode mkdir \
 	qfile qlist qtbz2 quse qxpak \
-	install source
+	install profilesource
 
 all: check
 






^ permalink raw reply	[flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-projects commit in portage-utils/tests: Makefile
@ 2013-09-29 10:10 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2013-09-29 10:10 UTC (permalink / raw
  To: gentoo-commits

vapier      13/09/29 10:10:51

  Modified:             Makefile
  Log:
  revert accidental revert

Revision  Changes    Path
1.14                 portage-utils/tests/Makefile

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?r1=1.13&r2=1.14

Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/Makefile,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Makefile	29 Sep 2013 10:07:28 -0000	1.13
+++ Makefile	29 Sep 2013 10:10:51 -0000	1.14
@@ -1,6 +1,6 @@
 TESTS = \
 	reinitialize atom_compare atom_explode mkdir \
-	qfile qlist qtbz2 quse qxpak \
+	qdepends qfile qlist qtbz2 quse qxpak \
 	install profile source
 
 all: check





^ permalink raw reply	[flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-projects commit in portage-utils/tests: Makefile
@ 2013-09-29 10:07 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2013-09-29 10:07 UTC (permalink / raw
  To: gentoo-commits

vapier      13/09/29 10:07:28

  Modified:             Makefile
  Log:
  scandirat: use _DIRENT_HAVE_D_RECLEN to be slightly more portable #485430

Revision  Changes    Path
1.13                 portage-utils/tests/Makefile

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?r1=1.12&r2=1.13

Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/Makefile,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Makefile	29 Sep 2013 10:05:33 -0000	1.12
+++ Makefile	29 Sep 2013 10:07:28 -0000	1.13
@@ -1,6 +1,6 @@
 TESTS = \
 	reinitialize atom_compare atom_explode mkdir \
-	qdepends qfile qlist qtbz2 quse qxpak \
+	qfile qlist qtbz2 quse qxpak \
 	install profile source
 
 all: check





^ permalink raw reply	[flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-projects commit in portage-utils/tests: Makefile
@ 2013-09-29 10:05 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2013-09-29 10:05 UTC (permalink / raw
  To: gentoo-commits

vapier      13/09/29 10:05:33

  Modified:             Makefile
  Log:
  tests: start a qdepends suite

Revision  Changes    Path
1.12                 portage-utils/tests/Makefile

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?r1=1.11&r2=1.12

Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/Makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Makefile	19 May 2012 13:25:41 -0000	1.11
+++ Makefile	29 Sep 2013 10:05:33 -0000	1.12
@@ -1,6 +1,6 @@
 TESTS = \
 	reinitialize atom_compare atom_explode mkdir \
-	qfile qlist qtbz2 quse qxpak \
+	qdepends qfile qlist qtbz2 quse qxpak \
 	install profile source
 
 all: check





^ permalink raw reply	[flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-projects commit in portage-utils/tests: Makefile
@ 2012-05-19 13:25 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2012-05-19 13:25 UTC (permalink / raw
  To: gentoo-commits

vapier      12/05/19 13:25:42

  Modified:             Makefile
  Log:
  allow test subdirs to run in parallel

Revision  Changes    Path
1.11                 portage-utils/tests/Makefile

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?r1=1.10&r2=1.11

Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Makefile	22 Dec 2011 20:17:43 -0000	1.10
+++ Makefile	19 May 2012 13:25:41 -0000	1.11
@@ -5,17 +5,14 @@
 
 all: check
 
-test check:
-	ret=0 ; \
-	for test in $(TESTS) ; do \
-		if cd $$test ; then \
-			$(MAKE) check || ret=1 ; \
-			cd .. ; \
-		else \
-			ret=1 ; \
-		fi ; \
-	done ; \
-	exit $${ret}
+test check: $(TESTS:=_subdir)
+
+%_subdir:
+	cd $(@:_subdir=) || exit 1; \
+	out=`$(MAKE) check 2>&1`; \
+	ret=$$?; \
+	echo "$$out"; \
+	exit $$ret
 
 clean:
 	for test in $(TESTS) ; do \






^ permalink raw reply	[flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-projects commit in portage-utils/tests: Makefile
@ 2011-12-22 20:17 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2011-12-22 20:17 UTC (permalink / raw
  To: gentoo-commits

vapier      11/12/22 20:17:43

  Modified:             Makefile
  Log:
  fix typo in TESTS list, and make overall test dir looping more robust

Revision  Changes    Path
1.10                 portage-utils/tests/Makefile

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?r1=1.9&r2=1.10

Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Makefile	22 Dec 2011 20:13:01 -0000	1.9
+++ Makefile	22 Dec 2011 20:17:43 -0000	1.10
@@ -1,20 +1,23 @@
 TESTS = \
 	reinitialize atom_compare atom_explode mkdir \
 	qfile qlist qtbz2 quse qxpak \
-	install profilesource
+	install profile source
 
 all: check
 
 test check:
+	ret=0 ; \
 	for test in $(TESTS) ; do \
-		cd $$test ; \
-		$(MAKE) check || exit 1 ; \
-		cd .. ; \
-	done
+		if cd $$test ; then \
+			$(MAKE) check || ret=1 ; \
+			cd .. ; \
+		else \
+			ret=1 ; \
+		fi ; \
+	done ; \
+	exit $${ret}
 
 clean:
 	for test in $(TESTS) ; do \
-		cd $$test ; \
-		$(MAKE) clean ; \
-		cd .. ; \
+		$(MAKE) -C $$test clean ; \
 	done






^ permalink raw reply	[flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-projects commit in portage-utils/tests: Makefile
@ 2011-03-01  5:10 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2011-03-01  5:10 UTC (permalink / raw
  To: gentoo-commits

vapier      11/03/01 05:10:33

  Modified:             Makefile
  Log:
  add qlist tests

Revision  Changes    Path
1.7                  portage-utils/tests/Makefile

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?r1=1.6&r2=1.7

Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Makefile	28 Feb 2011 16:20:22 -0000	1.6
+++ Makefile	1 Mar 2011 05:10:33 -0000	1.7
@@ -1,4 +1,4 @@
-TESTS = reinitialize atom_compare atom_explode qfile qtbz2 quse qxpak install source
+TESTS = reinitialize atom_compare atom_explode qfile qlist qtbz2 quse qxpak install source
 
 all: check
 






^ permalink raw reply	[flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-projects commit in portage-utils/tests: Makefile
@ 2011-02-28 16:20 Mike Frysinger (vapier)
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger (vapier) @ 2011-02-28 16:20 UTC (permalink / raw
  To: gentoo-commits

vapier      11/02/28 16:20:22

  Modified:             Makefile
  Log:
  add qxpak/qtbz2 tests

Revision  Changes    Path
1.6                  portage-utils/tests/Makefile

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/Makefile?r1=1.5&r2=1.6

Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Makefile	14 May 2006 21:32:37 -0000	1.5
+++ Makefile	28 Feb 2011 16:20:22 -0000	1.6
@@ -1,4 +1,4 @@
-TESTS = reinitialize atom_compare atom_explode qfile quse install source
+TESTS = reinitialize atom_compare atom_explode qfile qtbz2 quse qxpak install source
 
 all: check
 






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-09-29 10:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-22 20:13 [gentoo-commits] gentoo-projects commit in portage-utils/tests: Makefile Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2013-09-29 10:10 Mike Frysinger (vapier)
2013-09-29 10:07 Mike Frysinger (vapier)
2013-09-29 10:05 Mike Frysinger (vapier)
2012-05-19 13:25 Mike Frysinger (vapier)
2011-12-22 20:17 Mike Frysinger (vapier)
2011-03-01  5:10 Mike Frysinger (vapier)
2011-02-28 16:20 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox