hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Smith (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2325) Add build hook to allow jvm args to be passed to junit test runner
Date Mon, 15 Mar 2010 05:51:27 GMT

    [ https://issues.apache.org/jira/browse/HBASE-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845192#action_12845192
] 

Paul Smith commented on HBASE-2325:
-----------------------------------

basically the surefire plugin needs some tweaking:

http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

setting the 'argLine' property.

this is where Maven profiles would be good, because a default profile with 'empty' arglines
could be used, with a jcarder profile used to specify the jcarder command line settings, the
profile then being activated by profile name as needed.



> Add build hook to allow jvm args to be passed to junit test runner
> ------------------------------------------------------------------
>
>                 Key: HBASE-2325
>                 URL: https://issues.apache.org/jira/browse/HBASE-2325
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.20.3
>            Reporter: Todd Lipcon
>            Priority: Trivial
>         Attachments: hbase-2325.txt
>
>
> In order to run jcarder on the unit tests, it's handy to be able to add jvm args to the
junit test runner. This trivial patch adds a hook for this. Unfortunately I don't know much
about maven, someone will have to help me for trunk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message