mirror of
https://github.com/platformio/platformio-core.git
synced 2025-08-01 02:54:25 +02:00
Do not override embedded std flag
This commit is contained in:
@@ -109,9 +109,11 @@ class DoctestTestRunner(TestRunnerBase):
|
|||||||
self._tc_parser = DoctestTestCaseParser()
|
self._tc_parser = DoctestTestCaseParser()
|
||||||
|
|
||||||
def configure_build_env(self, env):
|
def configure_build_env(self, env):
|
||||||
|
env.Append(CPPDEFINES=["DOCTEST_CONFIG_COLORS_NONE"])
|
||||||
|
if self.platform.is_embedded():
|
||||||
|
return
|
||||||
if "-std=" not in env.subst("$CXXFLAGS"):
|
if "-std=" not in env.subst("$CXXFLAGS"):
|
||||||
env.Append(CXXFLAGS=["-std=c++11"])
|
env.Append(CXXFLAGS=["-std=c++11"])
|
||||||
env.Append(CPPDEFINES=["DOCTEST_CONFIG_COLORS_NONE"])
|
|
||||||
|
|
||||||
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