Disable flaky CpuTest.Usage on Windows.
TBR=turaj@webrtc.org BUG=290 TEST=system_wrapper_unittests Review URL: https://webrtc-codereview.appspot.com/396005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1689 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -23,7 +23,14 @@ using webrtc::EventWrapper;
|
|||||||
using webrtc::scoped_ptr;
|
using webrtc::scoped_ptr;
|
||||||
using webrtc::Trace;
|
using webrtc::Trace;
|
||||||
|
|
||||||
TEST(CpuWrapperTest, Usage) {
|
// This test is flaky on Windows/Release.
|
||||||
|
// http://code.google.com/p/webrtc/issues/detail?id=290
|
||||||
|
#ifdef _WIN32
|
||||||
|
#define MAYBE_Usage DISABLED_Usage
|
||||||
|
#else
|
||||||
|
#define MAYBE_Usage Usage
|
||||||
|
#endif
|
||||||
|
TEST(CpuWrapperTest, MAYBE_Usage) {
|
||||||
Trace::CreateTrace();
|
Trace::CreateTrace();
|
||||||
std::string trace_file = webrtc::test::OutputPath() +
|
std::string trace_file = webrtc::test::OutputPath() +
|
||||||
"cpu_wrapper_unittest.txt";
|
"cpu_wrapper_unittest.txt";
|
||||||
|
Reference in New Issue
Block a user