From db60de7cbe3ea9643a0471e1225a6abeac021de3 Mon Sep 17 00:00:00 2001 From: "caryclark@google.com" Date: Thu, 11 Apr 2013 12:33:23 +0000 Subject: shape ops test fixes - fix rand for Android - build unit test on linux - use atomic inc in test count - add casting for Android git-svn-id: http://skia.googlecode.com/svn/trunk@8610 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/PathOpsCubicIntersectionTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/PathOpsCubicIntersectionTest.cpp') diff --git a/tests/PathOpsCubicIntersectionTest.cpp b/tests/PathOpsCubicIntersectionTest.cpp index 5a6a336a3f..be9781dde6 100644 --- a/tests/PathOpsCubicIntersectionTest.cpp +++ b/tests/PathOpsCubicIntersectionTest.cpp @@ -305,7 +305,7 @@ static void oneOffTests(skiatest::Reporter* reporter) { static void CubicIntersection_RandTest(skiatest::Reporter* reporter) { srand(0); const int tests = 10000000; -#ifndef SK_BUILD_FOR_WIN +#if !defined(SK_BUILD_FOR_WIN) && !defined(SK_BUILD_FOR_ANDROID) unsigned seed = 0; #endif for (int test = 0; test < tests; ++test) { -- cgit v1.2.3