public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger (vapier)" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-projects commit in portage-utils/tests: Makefile
Date: Thu, 22 Dec 2011 20:17:43 +0000 (UTC)	[thread overview]
Message-ID: <20111222201743.715C12004B@flycatcher.gentoo.org> (raw)

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






             reply	other threads:[~2011-12-22 20:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-22 20:17 Mike Frysinger (vapier) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-09-29 10:10 [gentoo-commits] gentoo-projects commit in portage-utils/tests: Makefile 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:13 Mike Frysinger (vapier)
2011-03-01  5:10 Mike Frysinger (vapier)
2011-02-28 16:20 Mike Frysinger (vapier)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111222201743.715C12004B@flycatcher.gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox