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:
andrew@webrtc.org
2012-02-15 01:47:51 +00:00
parent b38a66aaac
commit 8bd6f19abe

View File

@ -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";