mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Add "-pthread" flag for GoogleTest
This commit is contained in:
2
docs
2
docs
Submodule docs updated: 41042eb9fd...4522b6d963
@ -100,7 +100,7 @@ class GoogletestTestRunner(TestRunnerBase):
|
|||||||
def configure_build_env(self, env):
|
def configure_build_env(self, env):
|
||||||
if self.platform.is_embedded():
|
if self.platform.is_embedded():
|
||||||
return
|
return
|
||||||
env.Append(CXXFLAGS=["-std=c++11"])
|
env.Append(CXXFLAGS=["-std=c++11", "-pthread"])
|
||||||
|
|
||||||
def on_testing_line_output(self, line):
|
def on_testing_line_output(self, line):
|
||||||
if self.options.verbose:
|
if self.options.verbose:
|
||||||
|
Reference in New Issue
Block a user