mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Rename the "test_build_project_src" project configuration option to "test_build_src"
This commit is contained in:
@ -49,6 +49,7 @@ Please check `Migration guide from 5.x to 6.0 <https://docs.platformio.org/en/la
|
||||
- Generate reports in JUnit and JSON formats using the `pio test --output-format <https://docs.platformio.org/en/latest/core/userguide/cmd_test.html#cmdoption-pio-test-output-format>`__ option (`issue #2891 <https://github.com/platformio/platformio-core/issues/2891>`_)
|
||||
- Provide more information when the native program crashed on a host (errored with a negative return code) (`issue #3429 <https://github.com/platformio/platformio-core/issues/3429>`_)
|
||||
- Fixed an issue when command line parameters ("--ignore", "--filter") do not override values defined in the |PIOCONF| (`issue #3845 <https://github.com/platformio/platformio-core/issues/3845>`_)
|
||||
- Renamed the "test_build_project_src" project configuration option to `test_build_src <https://docs.platformio.org/en/latest//projectconf/section_env_test.html#test-build-src>`__
|
||||
|
||||
* **Static Code Analysis**
|
||||
|
||||
|
@ -166,9 +166,7 @@ def ProcessProjectDeps(env):
|
||||
projenv.BuildSources(
|
||||
"$BUILD_TEST_DIR", "$PROJECT_TEST_DIR", "$PIOTEST_SRC_FILTER"
|
||||
)
|
||||
if "test" not in env.GetBuildType() or env.GetProjectOption(
|
||||
"test_build_project_src"
|
||||
):
|
||||
if "test" not in env.GetBuildType() or env.GetProjectOption("test_build_src"):
|
||||
projenv.BuildSources(
|
||||
"$BUILD_SRC_DIR", "$PROJECT_SRC_DIR", env.get("SRC_FILTER")
|
||||
)
|
||||
|
@ -679,8 +679,9 @@ ProjectOptions = OrderedDict(
|
||||
),
|
||||
ConfigEnvOption(
|
||||
group="test",
|
||||
name="test_build_project_src",
|
||||
description="Build project source code in a pair with test code",
|
||||
name="test_build_src",
|
||||
oldnames=["test_build_project_src"],
|
||||
description="Build main source code in pair with a test code",
|
||||
type=click.BOOL,
|
||||
default=False,
|
||||
),
|
||||
|
Reference in New Issue
Block a user