mirror of
https://github.com/espressif/esp-idf
synced 2025-03-11 10:09:08 -04:00
Merge branch 'feature/force-non-smp-build-tests' into 'master'
freertos: Don't use FreeRTOS SMP build for partition nearly full warning test See merge request espressif/esp-idf!18737
This commit is contained in:
commit
0660e4f2f9
@ -819,6 +819,8 @@ endmenu\n" >> ${IDF_PATH}/Kconfig
|
||||
cp ${IDF_PATH}/components/partition_table/partitions_singleapp.csv partitions.csv
|
||||
${SED} -i "s/factory, app, factory, , 1M/factory, app, factory, , 170K/" partitions.csv
|
||||
echo "CONFIG_PARTITION_TABLE_CUSTOM=y" > sdkconfig
|
||||
# don't use FreeRTOS SMP build for this test - follow up ticket: IDF-5386
|
||||
echo "CONFIG_FREERTOS_SMP=n" >> sdkconfig
|
||||
( idf.py build 2>&1 | grep "partition is nearly full" ) || failure "No warning for nearly full smallest partition was given when the condition is fulfilled"
|
||||
rm -f partitions.csv sdkconfig
|
||||
( idf.py build 2>&1 | grep "partition is nearly full" ) && failure "Warning for nearly full smallest partition was given when the condition is not fulfilled"
|
||||
|
Loading…
x
Reference in New Issue
Block a user