----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/5393/#review8398 -----------------------------------------------------------
Ship it! Ship It! - Benjamin Hindman On June 19, 2012, 4:03 a.m., Jie Yu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/5393/ > ----------------------------------------------------------- > > (Updated June 19, 2012, 4:03 a.m.) > > > 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 > >
