FreeBSD Bugzilla – Attachment 121831 Details for
Bug 164896
[exp-run] add support for testing perl modules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.31 KB, created by
Steve Wills
on 2012-02-08 04:10:15 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2012-02-08 04:10:15 UTC
Size:
1.31 KB
patch
obsolete
>Index: Mk/bsd.perl.mk >=================================================================== >RCS file: /home/pcvs/ports/Mk/bsd.perl.mk,v >retrieving revision 1.22 >diff -u -r1.22 bsd.perl.mk >--- Mk/bsd.perl.mk 15 Aug 2011 06:50:00 -0000 1.22 >+++ Mk/bsd.perl.mk 29 Jan 2012 04:39:58 -0000 >@@ -225,3 +225,15 @@ > .endif # !defined(USE_GMAKE) > .endif # defined(PERL_MODBUILD) > .endif # defined(_POSTMKINCLUDED) && !defined(Perl_Post_Include) >+ >+# run tests if requested >+.if defined(USE_PERL_TEST) && !defined(NO_TEST) >+.if !target(test) >+test: build >+.if defined(PERL_MODBUILD) >+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} test >+.elif defined(PERL_CONFIGURE) >+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test >+.endif # defined(PERL_MODBUILD) >+.endif # !target(test) >+.endif # defined(USE_PERL_TEST) && !defined(NO_TEST) >Index: Mk/bsd.port.mk >=================================================================== >RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v >retrieving revision 1.703 >diff -u -r1.703 bsd.port.mk >--- Mk/bsd.port.mk 22 Jan 2012 15:41:33 -0000 1.703 >+++ Mk/bsd.port.mk 29 Jan 2012 04:39:59 -0000 >@@ -6306,6 +6306,16 @@ > @${DO_NADA} > .endif > >+.if !target(regression-test) >+regression-test: test >+ @${DO_NADA} >+.endif >+ >+.if !target(test) >+test: build >+ @${DO_NADA} >+.endif >+ > .endif > # End of post-makefile section.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 164896
: 121831 |
121832
|
121833
|
121834