From 16cfe40276bfb0a4d98c9ad995b8e5b134a49b19 Mon Sep 17 00:00:00 2001 From: "caryclark@google.com" Date: Thu, 18 Apr 2013 18:47:37 +0000 Subject: allow tests to optionally use multiple threads modify threaded path ops tests to check Background: this CL came out of a conversation with Eric where I learned that 10s of machines host 100s of bots. Since the bot hosting tests may be shared with many other tasks, it seems unwise for path ops to launch multiple test threads. The change here is to make launching multiple threads "opt-in" and by default, bots can run path ops in a single thread. Review URL: https://codereview.chromium.org/14002007 git-svn-id: http://skia.googlecode.com/svn/trunk@8750 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/PathOpsSimplifyQuadThreadedTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/PathOpsSimplifyQuadThreadedTest.cpp') diff --git a/tests/PathOpsSimplifyQuadThreadedTest.cpp b/tests/PathOpsSimplifyQuadThreadedTest.cpp index 0290602eee..8dea049a6e 100644 --- a/tests/PathOpsSimplifyQuadThreadedTest.cpp +++ b/tests/PathOpsSimplifyQuadThreadedTest.cpp @@ -68,7 +68,7 @@ static void testSimplifyQuadsMain(PathOpsThreadState* data) static void PathOpsSimplifyQuadsThreadedTest(skiatest::Reporter* reporter) { - int threadCount = initializeTests("testQuads"); + int threadCount = initializeTests(reporter, "testQuads"); PathOpsThreadedTestRunner testRunner(reporter, threadCount); int a = 0; for (; a < 16; ++a) { -- cgit v1.2.3