You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Vinod Kone (Created) (JIRA)" <ji...@apache.org> on 2012/03/20 18:39:38 UTC

[jira] [Created] (MESOS-170) Add a target in the Makefile to build tests but not run them

Add a target in the Makefile to build tests but not run them
------------------------------------------------------------

                 Key: MESOS-170
                 URL: https://issues.apache.org/jira/browse/MESOS-170
             Project: Mesos
          Issue Type: New Feature
            Reporter: Vinod Kone


It is really painful during writing tests, to check if the code compiles and if the newly written test works as expected.

Currently we have to do 'make check' which not only builds the tests but also runs ALL of them, which is a productivity drain.

It would be really great to have 'make tests' target that would just build the tests, so that one can do './bin/mesos-tests.sh --gtest-filter="NewTest"'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MESOS-170) Add a target in the Makefile to build tests but not run them

Posted by "Charles Reiss (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MESOS-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245707#comment-13245707 ] 

Charles Reiss commented on MESOS-170:
-------------------------------------

It turns out you can do

make check TESTS=""

to get this effect
                
> Add a target in the Makefile to build tests but not run them
> ------------------------------------------------------------
>
>                 Key: MESOS-170
>                 URL: https://issues.apache.org/jira/browse/MESOS-170
>             Project: Mesos
>          Issue Type: New Feature
>            Reporter: Vinod Kone
>
> It is really painful during writing tests, to check if the code compiles and if the newly written test works as expected.
> Currently we have to do 'make check' which not only builds the tests but also runs ALL of them, which is a productivity drain.
> It would be really great to have 'make tests' target that would just build the tests, so that one can do './bin/mesos-tests.sh --gtest-filter="NewTest"'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira