Initialize threading before running any tests
Created attachment 103695 [details] Patch
This is to fix an assertion seen on the bots when running tests, due to threading not being initialized: ASSERTION FAILED: m_key != PTHREAD_KEYS_MAX /Volumes/Big/slave/snowleopard-intel-debug/build/Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp(60) : static WTF::ThreadIdentifier WTF::ThreadIdentifierData::identifier() 1 WTF::ThreadIdentifierData::identifier() 2 WTF::currentThread() 3 WTF::ThreadRestrictionVerifier::setShared(bool) 4 WTF::RefCountedBase::ref() 5 WKRetain 6 WebKit::WKRetainPtr<OpaqueWKString const*>::WKRetainPtr(WebKit::WKRetainPtr<OpaqueWKString const*> const&) 7 testing::AssertionResult TestWebKitAPI::Util::assertWKStringEqual<char const*, WebKit::WKRetainPtr<OpaqueWKString const*> >(char const*, char const*, char const*, WebKit::WKRetainPtr<OpaqueWKString const*>) 8 TestWebKitAPI::WebKit2_WKPreferencesDefaults_Test::TestBody() 9 testing::Test::Run() 10 testing::internal::TestInfoImpl::Run() 11 testing::TestCase::Run() 12 testing::internal::UnitTestImpl::RunAllTests() 13 testing::UnitTest::Run() 14 TestWebKitAPI::TestsController::run(int, char**) 15 main 16 start
Committed r92887: <http://trac.webkit.org/changeset/92887>