public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-projects commit in portage-utils/tests/install: Makefile dotest
@ 2011-12-12 21:04 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2011-12-12 21:04 UTC (permalink / raw
  To: gentoo-commits

vapier      11/12/12 21:04:24

  Modified:             Makefile dotest
  Log:
  first pass at integrating the testsuite into autotools code

Revision  Changes    Path
1.2                  portage-utils/tests/install/Makefile

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

Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/install/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile	24 Nov 2005 20:28:47 -0000	1.1
+++ Makefile	12 Dec 2011 21:04:24 -0000	1.2
@@ -1,7 +1,12 @@
+thisdir = install
+include ../subdir.mk
+
 all: check
 
 test check:
-	./dotest
+	$(s)/dotest
 
 clean:
-	rm -f q `find . -type l`
+	rm -f $(b)/q `find $(b) -type l`
+
+.PHONY: all check clean test



1.6                  portage-utils/tests/install/dotest

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

Index: dotest
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/install/dotest,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- dotest	17 Mar 2011 03:32:07 -0000	1.5
+++ dotest	12 Dec 2011 21:04:24 -0000	1.6
@@ -11,7 +11,9 @@
 )
 rm -f ${applets}
 
-ln -f `which q` || die "ln -f q"
+if ! ln -f `which q` ; then
+	skip "could not 'ln -f'"
+fi
 ./q -i || die "./q -i"
 
 for app in ${applets} ; do






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-12 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-12 21:04 [gentoo-commits] gentoo-projects commit in portage-utils/tests/install: Makefile dotest 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