mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
Finally, after a long wait, an electron port for FreeBSD lands in the portstree. A huge thanks to everyone contributed to this huge effort and to the maintainer that is willing to take the burden of the maintainership!
18 lines
836 B
C++
18 lines
836 B
C++
--- content/test/content_test_suite.cc.orig 2019-03-15 06:37:23 UTC
|
|
+++ content/test/content_test_suite.cc
|
|
@@ -87,6 +87,7 @@ void ContentTestSuite::Initialize() {
|
|
// to initialize GL, so don't do it here.
|
|
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
|
bool is_child_process = command_line->HasSwitch(switches::kTestChildProcess);
|
|
+#if !defined(OS_BSD)
|
|
if (!is_child_process) {
|
|
gl::GLSurfaceTestSupport::InitializeNoExtensionsOneOff();
|
|
gpu::GPUInfo gpu_info;
|
|
@@ -99,6 +100,7 @@ void ContentTestSuite::Initialize() {
|
|
gpu_feature_info.disabled_extensions);
|
|
gl::init::InitializeExtensionSettingsOneOffPlatform();
|
|
}
|
|
+#endif
|
|
testing::TestEventListeners& listeners =
|
|
testing::UnitTest::GetInstance()->listeners();
|
|
listeners.Append(new TestInitializationListener);
|