mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
Merge branch 'bugfix/kconcheck_file_checks' into 'master'
bugfix: Fixed KConfig files that were not succesfully checked Closes IDF-9028 and IDF-9027 See merge request espressif/esp-idf!28385
This commit is contained in:
commit
1a80217af5
@ -1127,7 +1127,7 @@ config BT_MAX_DEVICE_NAME_LEN
|
|||||||
|
|
||||||
config BT_BLE_RPA_SUPPORTED
|
config BT_BLE_RPA_SUPPORTED
|
||||||
bool "Update RPA to Controller"
|
bool "Update RPA to Controller"
|
||||||
depends on (BT_BLUEDROID_ENABLED && ((BT_CONTROLLER_ENABLED && !SOC_BLE_DEVICE_PRIVACY_SUPPORTED) || BT_CONTROLLER_DISABLED))
|
depends on (BT_BLUEDROID_ENABLED && ((BT_CONTROLLER_ENABLED && !SOC_BLE_DEVICE_PRIVACY_SUPPORTED) || BT_CONTROLLER_DISABLED)) # NOERROR
|
||||||
default n if (BT_CONTROLLER_ENABLED && !SOC_BLE_DEVICE_PRIVACY_SUPPORTED)
|
default n if (BT_CONTROLLER_ENABLED && !SOC_BLE_DEVICE_PRIVACY_SUPPORTED)
|
||||||
default y if BT_CONTROLLER_DISABLED
|
default y if BT_CONTROLLER_DISABLED
|
||||||
help
|
help
|
||||||
@ -1156,7 +1156,8 @@ config BT_BLE_50_FEATURES_SUPPORTED
|
|||||||
depends on (BT_BLE_ENABLED && ((BT_CONTROLLER_ENABLED && SOC_BLE_50_SUPPORTED) || BT_CONTROLLER_DISABLED))
|
depends on (BT_BLE_ENABLED && ((BT_CONTROLLER_ENABLED && SOC_BLE_50_SUPPORTED) || BT_CONTROLLER_DISABLED))
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enabling this option activates BLE 5.0 features. This option is universally supported in chips that support BLE, except for ESP32.
|
Enabling this option activates BLE 5.0 features.
|
||||||
|
This option is universally supported in chips that support BLE, except for ESP32.
|
||||||
|
|
||||||
config BT_BLE_42_FEATURES_SUPPORTED
|
config BT_BLE_42_FEATURES_SUPPORTED
|
||||||
bool "Enable BLE 4.2 features"
|
bool "Enable BLE 4.2 features"
|
||||||
@ -1167,21 +1168,21 @@ config BT_BLE_42_FEATURES_SUPPORTED
|
|||||||
|
|
||||||
config BT_BLE_FEAT_PERIODIC_ADV_SYNC_TRANSFER
|
config BT_BLE_FEAT_PERIODIC_ADV_SYNC_TRANSFER
|
||||||
bool "Enable BLE periodic advertising sync transfer feature"
|
bool "Enable BLE periodic advertising sync transfer feature"
|
||||||
depends on (BT_BLUEDROID_ENABLED && BT_BLE_50_FEATURES_SUPPORTED && ((BT_CONTROLLER_ENABLED && SOC_ESP_NIMBLE_CONTROLLER) || BT_CONTROLLER_DISABLED))
|
depends on (BT_BLUEDROID_ENABLED && BT_BLE_50_FEATURES_SUPPORTED && ((BT_CONTROLLER_ENABLED && SOC_ESP_NIMBLE_CONTROLLER) || BT_CONTROLLER_DISABLED)) # NOERROR
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This enables BLE periodic advertising sync transfer feature
|
This enables BLE periodic advertising sync transfer feature
|
||||||
|
|
||||||
config BT_BLE_FEAT_PERIODIC_ADV_ENH
|
config BT_BLE_FEAT_PERIODIC_ADV_ENH
|
||||||
bool "Enable periodic adv enhancements(adi support)"
|
bool "Enable periodic adv enhancements(adi support)"
|
||||||
depends on (BT_BLUEDROID_ENABLED && BT_BLE_50_FEATURES_SUPPORTED && ((BT_CONTROLLER_ENABLED && SOC_ESP_NIMBLE_CONTROLLER) || BT_CONTROLLER_DISABLED))
|
depends on (BT_BLUEDROID_ENABLED && BT_BLE_50_FEATURES_SUPPORTED && ((BT_CONTROLLER_ENABLED && SOC_ESP_NIMBLE_CONTROLLER) || BT_CONTROLLER_DISABLED)) # NOERROR
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable the periodic advertising enhancements
|
Enable the periodic advertising enhancements
|
||||||
|
|
||||||
config BT_BLE_FEAT_CREATE_SYNC_ENH
|
config BT_BLE_FEAT_CREATE_SYNC_ENH
|
||||||
bool "Enable create sync enhancements(reporting disable and duplicate filtering enable support)"
|
bool "Enable create sync enhancements(reporting disable and duplicate filtering enable support)"
|
||||||
depends on (BT_BLUEDROID_ENABLED && BT_BLE_50_FEATURES_SUPPORTED && ((BT_CONTROLLER_ENABLED && SOC_ESP_NIMBLE_CONTROLLER) || BT_CONTROLLER_DISABLED))
|
depends on (BT_BLUEDROID_ENABLED && BT_BLE_50_FEATURES_SUPPORTED && ((BT_CONTROLLER_ENABLED && SOC_ESP_NIMBLE_CONTROLLER) || BT_CONTROLLER_DISABLED)) # NOERROR
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable the create sync enhancements
|
Enable the create sync enhancements
|
||||||
|
@ -111,28 +111,33 @@ menu "Power Management"
|
|||||||
select PM_RESTORE_CACHE_TAGMEM_AFTER_LIGHT_SLEEP if ESP32S3_DATA_CACHE_16KB
|
select PM_RESTORE_CACHE_TAGMEM_AFTER_LIGHT_SLEEP if ESP32S3_DATA_CACHE_16KB
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
If enabled, the CPU will be powered down in light sleep, ESP chips supports saving and restoring CPU's running
|
If enabled, the CPU will be powered down in light sleep,
|
||||||
context before and after light sleep, the feature provides applications with seamless CPU powerdowned lightsleep
|
ESP chips supports saving and restoring CPU's running context before and after light sleep,
|
||||||
without user awareness.
|
the feature provides applications with seamless CPU powerdowned lightsleep without user awareness.
|
||||||
But this will takes up some internal memory. On esp32c3 soc, enabling this option will consume 1.68 KB of internal
|
But this will takes up some internal memory.
|
||||||
RAM and will reduce sleep current consumption by about 100 uA. On esp32s3 soc, enabling this option will consume
|
On esp32c3 soc, enabling this option will consume 1.68 KB of internal RAM
|
||||||
8.58 KB of internal RAM and will reduce sleep current consumption by about 650 uA.
|
and will reduce sleep current consumption by about 100 uA.
|
||||||
|
On esp32s3 soc, enabling this option will consume 8.58 KB of internal RAM
|
||||||
|
and will reduce sleep current consumption by about 650 uA.
|
||||||
|
|
||||||
config PM_RESTORE_CACHE_TAGMEM_AFTER_LIGHT_SLEEP
|
config PM_RESTORE_CACHE_TAGMEM_AFTER_LIGHT_SLEEP
|
||||||
bool "Restore I/D-cache tag memory after power down CPU light sleep"
|
bool "Restore I/D-cache tag memory after power down CPU light sleep"
|
||||||
depends on IDF_TARGET_ESP32S3 && PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP
|
depends on IDF_TARGET_ESP32S3 && PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Cache tag memory and CPU both belong to the CPU power domain. ESP chips supports saving and restoring Cache tag memory
|
Cache tag memory and CPU both belong to the CPU power domain.
|
||||||
before and after sleep, this feature supports accesses to the external memory that was cached before sleep still
|
ESP chips supports saving and restoring Cache tag memory before and after sleep,
|
||||||
be cached when the CPU wakes up from a powerdowned CPU lightsleep. This option controls the restore method for Cache
|
this feature supports accesses to the external memory that was cached before sleep still
|
||||||
tag memory in lightsleep.
|
be cached when the CPU wakes up from a powerdowned CPU lightsleep.
|
||||||
If this option is enabled, the I/D-cache tag memory will be backuped to the internal RAM before sleep and restored
|
This option controls the restore method for Cache tag memory in lightsleep.
|
||||||
upon wakeup. Depending on the the cache configuration, if this option is enabled, it will consume up to 9 KB
|
If this option is enabled, the I/D-cache tag memory will be backuped to the internal RAM
|
||||||
of internal RAM.
|
before sleep and restored upon wakeup.
|
||||||
If this option is disabled, all cached data won't be kept after sleep, the DCache will be writeback before
|
Depending on the the cache configuration, if this option is enabled,
|
||||||
sleep and invalid all cached data after sleep, all accesses to external memory(Flash/PSRAM) will be cache
|
it will consume up to 9 KB of internal RAM.
|
||||||
missed after waking up, resulting in performance degradation due to increased memory accesses latency.
|
If this option is disabled, all cached data won't be kept after sleep,
|
||||||
|
the DCache will be writeback before sleep and invalid all cached data after sleep,
|
||||||
|
all accesses to external memory(Flash/PSRAM) will be cache missed after waking up,
|
||||||
|
resulting in performance degradation due to increased memory accesses latency.
|
||||||
|
|
||||||
config PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP
|
config PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP
|
||||||
bool "Power down Digital Peripheral in light sleep (EXPERIMENTAL)"
|
bool "Power down Digital Peripheral in light sleep (EXPERIMENTAL)"
|
||||||
|
@ -170,7 +170,8 @@ menu "FreeRTOS"
|
|||||||
prompt "configTIMER_SERVICE_TASK_CORE_AFFINITY"
|
prompt "configTIMER_SERVICE_TASK_CORE_AFFINITY"
|
||||||
default FREERTOS_TIMER_TASK_NO_AFFINITY
|
default FREERTOS_TIMER_TASK_NO_AFFINITY
|
||||||
help
|
help
|
||||||
Sets the timer task's core affinity (see configTIMER_SERVICE_TASK_CORE_AFFINITY documentation for more details).
|
Sets the timer task's core affinity
|
||||||
|
(see configTIMER_SERVICE_TASK_CORE_AFFINITY documentation for more details).
|
||||||
|
|
||||||
config FREERTOS_TIMER_TASK_AFFINITY_CPU0
|
config FREERTOS_TIMER_TASK_AFFINITY_CPU0
|
||||||
bool "CPU0"
|
bool "CPU0"
|
||||||
@ -250,7 +251,8 @@ menu "FreeRTOS"
|
|||||||
#TODO: Enable by default for debug builds (IDF-8517)
|
#TODO: Enable by default for debug builds (IDF-8517)
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable list integrity checker (see configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES documentation for more details).
|
Enable list integrity checker
|
||||||
|
(see configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES documentation for more details).
|
||||||
|
|
||||||
config FREERTOS_VTASKLIST_INCLUDE_COREID
|
config FREERTOS_VTASKLIST_INCLUDE_COREID
|
||||||
# Core affinity is supported in stats for Amazon FreeRTOS SMP by default
|
# Core affinity is supported in stats for Amazon FreeRTOS SMP by default
|
||||||
|
@ -718,8 +718,8 @@ menu "LWIP"
|
|||||||
cause Wi-Fi/Ethernet fail to release RX buffer in time.
|
cause Wi-Fi/Ethernet fail to release RX buffer in time.
|
||||||
It is possible that all RX buffers for MAC layer are used by OOSEQ.
|
It is possible that all RX buffers for MAC layer are used by OOSEQ.
|
||||||
|
|
||||||
Control the number of out-of-order pbufs to ensure that the MAC layer has
|
Control the number of out-of-order pbufs to ensure
|
||||||
enough RX buffer to receive packets.
|
that the MAC layer has enough RX buffer to receive packets.
|
||||||
|
|
||||||
In the Wi-Fi scenario, recommended OOSEQ PBUFS Range:
|
In the Wi-Fi scenario, recommended OOSEQ PBUFS Range:
|
||||||
0 <= TCP_OOSEQ_MAX_PBUFS <= CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM/(MAX_TCP_NUMBER + 1)
|
0 <= TCP_OOSEQ_MAX_PBUFS <= CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM/(MAX_TCP_NUMBER + 1)
|
||||||
|
@ -89,8 +89,9 @@ menu "Partition Table"
|
|||||||
string "Custom partition CSV file" if PARTITION_TABLE_CUSTOM
|
string "Custom partition CSV file" if PARTITION_TABLE_CUSTOM
|
||||||
default "partitions.csv"
|
default "partitions.csv"
|
||||||
help
|
help
|
||||||
Name of the custom partition CSV filename. This path is evaluated relative to the project root directory
|
Name of the custom partition CSV filename.
|
||||||
by default. However, if the abolute path for the CSV file is provided, then the absolute path is configured.
|
This path is evaluated relative to the project root directory by default.
|
||||||
|
However, if the absolute path for the CSV file is provided, then the absolute path is configured.
|
||||||
|
|
||||||
config PARTITION_TABLE_FILENAME
|
config PARTITION_TABLE_FILENAME
|
||||||
string
|
string
|
||||||
|
@ -33,7 +33,7 @@ Format rules for Kconfig files are as follows:
|
|||||||
- Option names in any menus should have consistent prefixes. The prefix currently should have at least 3 characters.
|
- Option names in any menus should have consistent prefixes. The prefix currently should have at least 3 characters.
|
||||||
- The unit of indentation should be 4 spaces. All sub-items belonging to a parent item are indented by one level deeper. For example, ``menu`` is indented by 0 spaces, ``config`` ``menu`` by 4 spaces, ``help`` in ``config`` by 8 spaces, and the text under ``help`` by 12 spaces.
|
- The unit of indentation should be 4 spaces. All sub-items belonging to a parent item are indented by one level deeper. For example, ``menu`` is indented by 0 spaces, ``config`` ``menu`` by 4 spaces, ``help`` in ``config`` by 8 spaces, and the text under ``help`` by 12 spaces.
|
||||||
- No trailing spaces are allowed at the end of the lines.
|
- No trailing spaces are allowed at the end of the lines.
|
||||||
- The maximum length of options is 40 characters.
|
- The maximum length of options is 50 characters.
|
||||||
- The maximum length of lines is 120 characters.
|
- The maximum length of lines is 120 characters.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
@ -33,7 +33,7 @@ Kconfig 文件的格式规定如下:
|
|||||||
- 在所有菜单中,选项名称的前缀需保持一致。目前,前缀长度应为至少 3 个字符。
|
- 在所有菜单中,选项名称的前缀需保持一致。目前,前缀长度应为至少 3 个字符。
|
||||||
- 每级采用 4 个空格的缩进方式,子项需比父项多缩进一级。例如, ``menu`` 缩进 0 个空格,``menu`` 中的 ``config`` 则缩进 4 个空格, ``config`` 中的 ``help`` 缩进 8 个空格, ``help`` 下的文本缩进 12 个空格。
|
- 每级采用 4 个空格的缩进方式,子项需比父项多缩进一级。例如, ``menu`` 缩进 0 个空格,``menu`` 中的 ``config`` 则缩进 4 个空格, ``config`` 中的 ``help`` 缩进 8 个空格, ``help`` 下的文本缩进 12 个空格。
|
||||||
- 行末不得出现尾随空格。
|
- 行末不得出现尾随空格。
|
||||||
- 选项最长为 40 个字符。
|
- 选项最长为 50 个字符。
|
||||||
- 每行最长为 120 个字符。
|
- 每行最长为 120 个字符。
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
@ -5,15 +5,15 @@ menu "Test config"
|
|||||||
range 0 3
|
range 0 3
|
||||||
prompt "Performance level"
|
prompt "Performance level"
|
||||||
|
|
||||||
config A
|
config PERFORMANCE_A
|
||||||
bool
|
bool
|
||||||
default "y"
|
default "y"
|
||||||
|
|
||||||
config B
|
config PERFORMANCE_B
|
||||||
bool
|
bool
|
||||||
default "n"
|
default "n"
|
||||||
|
|
||||||
config C
|
config PERFORMANCE_C
|
||||||
bool
|
bool
|
||||||
default "y"
|
default "y"
|
||||||
endmenu
|
endmenu # Test config
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import tempfile
|
import tempfile
|
||||||
@ -72,12 +71,12 @@ entries:
|
|||||||
[sections:test]
|
[sections:test]
|
||||||
entries:
|
entries:
|
||||||
value_1
|
value_1
|
||||||
if A = y:
|
if PERFORMANCE_A = y:
|
||||||
value_2
|
value_2
|
||||||
value_3
|
value_3
|
||||||
if A = n:
|
if PERFORMANCE_A = n:
|
||||||
value_4
|
value_4
|
||||||
if B = n:
|
if PERFORMANCE_B = n:
|
||||||
value_5
|
value_5
|
||||||
""")
|
""")
|
||||||
fragment_file = parse_fragment_file(test_fragment, self.sdkconfig)
|
fragment_file = parse_fragment_file(test_fragment, self.sdkconfig)
|
||||||
@ -89,11 +88,11 @@ entries:
|
|||||||
[sections:test]
|
[sections:test]
|
||||||
entries:
|
entries:
|
||||||
value_1
|
value_1
|
||||||
if B = y:
|
if PERFORMANCE_B = y:
|
||||||
value_2
|
value_2
|
||||||
elif C = y:
|
elif PERFORMANCE_C = y:
|
||||||
value_3
|
value_3
|
||||||
elif A = y:
|
elif PERFORMANCE_A = y:
|
||||||
value_4
|
value_4
|
||||||
else:
|
else:
|
||||||
value_5
|
value_5
|
||||||
@ -108,13 +107,13 @@ entries:
|
|||||||
[sections:test]
|
[sections:test]
|
||||||
entries:
|
entries:
|
||||||
value_1
|
value_1
|
||||||
if A = y:
|
if PERFORMANCE_A = y:
|
||||||
value_2
|
value_2
|
||||||
if B = y:
|
if PERFORMANCE_B = y:
|
||||||
value_3
|
value_3
|
||||||
else:
|
else:
|
||||||
value_4
|
value_4
|
||||||
if C = y:
|
if PERFORMANCE_C = y:
|
||||||
value_5
|
value_5
|
||||||
value_6
|
value_6
|
||||||
value_7
|
value_7
|
||||||
@ -128,7 +127,7 @@ entries:
|
|||||||
test_fragment = self.create_fragment_file(u"""
|
test_fragment = self.create_fragment_file(u"""
|
||||||
[sections:test]
|
[sections:test]
|
||||||
entries:
|
entries:
|
||||||
if A = n:
|
if PERFORMANCE_A = n:
|
||||||
value_2
|
value_2
|
||||||
""")
|
""")
|
||||||
with self.assertRaises(ParseFatalException):
|
with self.assertRaises(ParseFatalException):
|
||||||
@ -185,7 +184,7 @@ key_1:
|
|||||||
test_fragment = self.create_fragment_file(u"""
|
test_fragment = self.create_fragment_file(u"""
|
||||||
[sections:test]
|
[sections:test]
|
||||||
entries:
|
entries:
|
||||||
if B = y:
|
if PERFORMANCE_B = y:
|
||||||
else:
|
else:
|
||||||
value_1
|
value_1
|
||||||
""")
|
""")
|
||||||
@ -195,9 +194,9 @@ entries:
|
|||||||
test_fragment = self.create_fragment_file(u"""
|
test_fragment = self.create_fragment_file(u"""
|
||||||
[sections:test]
|
[sections:test]
|
||||||
entries:
|
entries:
|
||||||
if B = y:
|
if PERFORMANCE_B = y:
|
||||||
value_1
|
value_1
|
||||||
else B = y:
|
else PERFORMANCE_B = y:
|
||||||
""")
|
""")
|
||||||
with self.assertRaises(ParseFatalException):
|
with self.assertRaises(ParseFatalException):
|
||||||
parse_fragment_file(test_fragment, self.sdkconfig)
|
parse_fragment_file(test_fragment, self.sdkconfig)
|
||||||
@ -205,9 +204,9 @@ entries:
|
|||||||
test_fragment = self.create_fragment_file(u"""
|
test_fragment = self.create_fragment_file(u"""
|
||||||
[sections:test]
|
[sections:test]
|
||||||
entries:
|
entries:
|
||||||
if B = y:
|
if PERFORMANCE_B = y:
|
||||||
value_1
|
value_1
|
||||||
elif B = y:
|
elif PERFORMANCE_B = y:
|
||||||
else:
|
else:
|
||||||
value_2
|
value_2
|
||||||
""")
|
""")
|
||||||
@ -218,7 +217,7 @@ entries:
|
|||||||
test_fragment = self.create_fragment_file(u"""
|
test_fragment = self.create_fragment_file(u"""
|
||||||
[sections:test]
|
[sections:test]
|
||||||
entries:
|
entries:
|
||||||
elif B = y:
|
elif PERFORMANCE_B = y:
|
||||||
value_1
|
value_1
|
||||||
else:
|
else:
|
||||||
value_2
|
value_2
|
||||||
@ -254,7 +253,7 @@ entries:
|
|||||||
|
|
||||||
def test_whole_conditional_fragment(self):
|
def test_whole_conditional_fragment(self):
|
||||||
test_fragment = self.create_fragment_file(u"""
|
test_fragment = self.create_fragment_file(u"""
|
||||||
if B = y:
|
if PERFORMANCE_B = y:
|
||||||
[sections:test1]
|
[sections:test1]
|
||||||
entries:
|
entries:
|
||||||
value_1
|
value_1
|
||||||
@ -263,11 +262,11 @@ else:
|
|||||||
entries:
|
entries:
|
||||||
value_2
|
value_2
|
||||||
|
|
||||||
if A = y:
|
if PERFORMANCE_A = y:
|
||||||
[sections:test3]
|
[sections:test3]
|
||||||
entries:
|
entries:
|
||||||
value_3
|
value_3
|
||||||
if C = y:
|
if PERFORMANCE_C = y:
|
||||||
value_6
|
value_6
|
||||||
|
|
||||||
[sections:test4]
|
[sections:test4]
|
||||||
@ -292,7 +291,7 @@ entries:
|
|||||||
|
|
||||||
def test_equivalent_conditional_fragment(self):
|
def test_equivalent_conditional_fragment(self):
|
||||||
test_fragment1 = self.create_fragment_file(u"""
|
test_fragment1 = self.create_fragment_file(u"""
|
||||||
if A = y:
|
if PERFORMANCE_A = y:
|
||||||
[sections:test1]
|
[sections:test1]
|
||||||
entries:
|
entries:
|
||||||
value_1
|
value_1
|
||||||
@ -309,7 +308,7 @@ else:
|
|||||||
test_fragment2 = self.create_fragment_file(u"""
|
test_fragment2 = self.create_fragment_file(u"""
|
||||||
[sections:test1]
|
[sections:test1]
|
||||||
entries:
|
entries:
|
||||||
if A = y:
|
if PERFORMANCE_A = y:
|
||||||
value_1
|
value_1
|
||||||
else:
|
else:
|
||||||
value_2
|
value_2
|
||||||
@ -355,7 +354,7 @@ entries:
|
|||||||
test_fragment = self.create_fragment_file(u"""
|
test_fragment = self.create_fragment_file(u"""
|
||||||
[sections:test]
|
[sections:test]
|
||||||
entries:
|
entries:
|
||||||
if B = y:
|
if PERFORMANCE_B = y:
|
||||||
.section1
|
.section1
|
||||||
""")
|
""")
|
||||||
with self.assertRaises(ParseFatalException):
|
with self.assertRaises(ParseFatalException):
|
||||||
@ -449,7 +448,7 @@ entries:
|
|||||||
test_fragment = self.create_fragment_file(u"""
|
test_fragment = self.create_fragment_file(u"""
|
||||||
[scheme:test]
|
[scheme:test]
|
||||||
entries:
|
entries:
|
||||||
if B = y:
|
if PERFORMANCE_B = y:
|
||||||
sections1 -> target1
|
sections1 -> target1
|
||||||
""")
|
""")
|
||||||
with self.assertRaises(ParseFatalException):
|
with self.assertRaises(ParseFatalException):
|
||||||
@ -527,7 +526,7 @@ entries:
|
|||||||
archive:
|
archive:
|
||||||
lib.a
|
lib.a
|
||||||
entries:
|
entries:
|
||||||
if B = y:
|
if PERFORMANCE_B = y:
|
||||||
* (noflash) # if condition is false, then no 'entries' key value
|
* (noflash) # if condition is false, then no 'entries' key value
|
||||||
""")
|
""")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user