-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5393/
-----------------------------------------------------------

Review request for mesos, Benjamin Hindman and Vinod Kone.


Description
-------

Sometimes, you may want to enable a test only on Linux platforms, or enable a 
test only if cgroups module is enabled. This patch addresses this issue.

If you want to declare a test that only runs on Linux, you should set its name 
to: DISABLED_LINUX_XXX. This test will only run on Linux platforms (ignore the 
'DISABLED' prefix). 

Similarly, if you want to declare a test that only runs when cgroups is 
enabled, you should set its name to: DISABLED_CGROUPS_XXX.

It is implemented by using the gtest filter mechanism.


Diffs
-----

  src/tests/main.cpp 8593f4a 

Diff: https://reviews.apache.org/r/5393/diff/


Testing
-------

Tested on Linux and Mac.


Thanks,

Jie Yu

Reply via email to