pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox Add a "make test" target. Makes testing fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f7a1c1a93725
branches:  trunk
changeset: 649868:f7a1c1a93725
user:      martin <martin%pkgsrc.org@localhost>
date:      Sun Apr 12 09:02:39 2015 +0000

description:
Add a "make test" target. Makes testing for PR 49828 easier.

diffstat:

 www/firefox/mozilla-common.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a85f14f21f96 -r f7a1c1a93725 www/firefox/mozilla-common.mk
--- a/www/firefox/mozilla-common.mk     Sun Apr 12 08:47:41 2015 +0000
+++ b/www/firefox/mozilla-common.mk     Sun Apr 12 09:02:39 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.52 2015/04/05 12:54:11 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.53 2015/04/12 09:02:39 martin Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -10,6 +10,10 @@
 USE_LANGUAGES+=                c99 c++
 UNLIMIT_RESOURCES+=    datasize
 
+test:
+       cd ${WRKSRC}/${OBJDIR}/dist/bin &&      \
+            ./run-mozilla.sh ${WRKSRC}/mach check-spidermonkey
+
 .include "../../mk/bsd.prefs.mk"
 # tar(1) of OpenBSD 5.5 has no --exclude command line option.
 .if ${OPSYS} == "OpenBSD"



Home | Main Index | Thread Index | Old Index