Angus Gratton
0a27cfa850
unit_test.py: Allow importing tiny-test-fw from IDF_PATH as well as TEST_FW_PATH
2018-12-18 14:09:05 +11:00
He Yin Ling
b0154cbf58
unit-test-app: fix the RegEx to detect test case:
...
tags are not correctly parsed if eol do not contain `\r`
2018-11-29 23:06:16 +08:00
Ivan Grokhotkov
bbeb62547e
fatfs: add option to prefer ext. RAM for internal buffers
2018-11-29 19:26:46 +08:00
He Yin Ling
1c65f18422
Merge branch 'test/enhanced_junit_test_result' into 'master'
...
test: enhanced junit test result
See merge request idf/esp-idf!2766
2018-11-26 16:35:08 +08:00
He Yin Ling
ef9eaddd88
ci: assign unit test cases in sequence of config and name
2018-11-26 10:07:41 +08:00
He Yin Ling
5b3d09d5c8
test: fix unit test script code style warnings
2018-11-26 10:07:41 +08:00
He Yin Ling
644571f78b
test: generate junit test report according to executed cases
2018-11-26 10:07:41 +08:00
Ivan Grokhotkov
5aa7abb216
Merge branch 'bugfix/spiram_80m_clk_config' into 'master'
...
clk: fix regression in clock setting for SPIRAM with 80MHz config
See merge request idf/esp-idf!3724
2018-11-25 22:25:19 +08:00
Mahavir Jain
bd3806193d
unit-test-app: keep CONFIG_SPIRAM_BANKSWITCH_ENABLE enabled only for psram_8m config
2018-11-20 18:54:12 +05:30
Ivan Grokhotkov
6091021e83
unity: separate common and IDF specific functionality
...
New unity component can be used for testing other applications.
Upstream version of Unity is included as a submodule.
Utilities specific to ESP-IDF unit tests (partitions, leak checking
setup/teardown functions, etc) are kept only in unit-test-app.
Kconfig options are added to allow disabling certain Unity features.
2018-11-19 12:36:31 +08:00
Renz Christian Bagaporo
364f98b67e
cmake: fix for parsing unit test config
2018-11-16 12:00:39 +00:00
Ivan Grokhotkov
7b86247428
unit-test: use TEST_GROUPS to filter tests for psram_vspi and psram_hspi
2018-11-15 12:27:05 +00:00
Ivan Grokhotkov
09e4321e97
unit test: allow filtering tests for configs using TEST_GROUPS
2018-11-15 12:27:05 +00:00
Ivan Grokhotkov
621e316725
Merge branch 'feat/psram_support_hspi' into 'master'
...
esp32: support to use hspi to output clock for 4M psram
See merge request idf/esp-idf!3377
2018-11-06 20:34:41 +08:00
Ivan Grokhotkov
e4b68c49f2
Merge branch 'bugfix/py3_ci_enable' into 'master'
...
Enable Python 3 bot tests in master
See merge request idf/esp-idf!3615
2018-11-05 19:49:32 +08:00
Ivan Grokhotkov
761d44bd36
Merge branch 'bugfix/xts_compile_err' into 'master'
...
mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled
See merge request idf/esp-idf!3506
2018-11-05 16:58:38 +08:00
Roland Dobai
d4ba3bd2eb
idf_ext.py: Fix Python 3 compatibility issue
2018-11-05 08:11:02 +01:00
Sagar Bijwe
fbcc160675
mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled
2018-11-01 12:08:45 +05:30
Michael (XIAO Xufeng)
ff346f92af
psram: add test for 4M psram
2018-10-29 20:26:30 +08:00
He Yin Ling
2b4e34171b
test: fix UT script can't process cmd after reset:
...
There's still a small chance that can't process command issue still
happen on some runners. Now we change the way to detect if the runner
reset finished: input `-` to check test history for a few times until it
succeeded. If DUT can process check history command, then it should be
able to process other test commands.
2018-10-26 08:42:22 +00:00
Roland Dobai
9daf51e6be
Fix Python 3 compatibility issues
2018-10-24 11:20:54 +02:00
Renz Bagaporo
cc774111bf
cmake: Add support for test build
2018-10-20 12:07:24 +08:00
Ivan Grokhotkov
3e65ce3e93
Merge branch 'bugfix/unit_tests_tcpip_adapter' into 'master'
...
unit tests: Only initialise tcpip_adapter() when needed by the test
See merge request idf/esp-idf!3364
2018-10-19 12:33:09 +08:00
Ivan Grokhotkov
d91b18080b
unit test: split psram config into two configs to free up IRAM
2018-10-17 23:34:07 -05:00
Angus Gratton
159ff6e08e
unit tests: Only initialise tcpip_adapter() when needed by the test
...
Prevents unexpected memory allocations when running tests which
don't require tcpip_adapter.
2018-10-17 22:53:46 +00:00
Jeroen Domburg
81e35a142a
Spiram: Add option to reserve MMU banks; add himem API to make use of those banks
2018-10-15 14:32:58 +08:00
Angus Gratton
ee0ebc1e1a
Merge branch 'test/enhanced_unit_test_config_dependency' into 'master'
...
test: enhanced config dependency support for CI
See merge request idf/esp-idf!3383
2018-10-05 09:21:30 +08:00
He Yin Ling
737f33e379
test: enhanced config dependency support for CI:
...
allow define complex conditions for the dependency of each tag.
2018-09-27 15:23:44 +08:00
Ivan Grokhotkov
5ebf4f7022
Merge branch 'feature/move_rtc_data_rtc_rodata_to_RTC_FAST_seg' into 'master'
...
esp32: Add option to place .rtc_data and .rtc_rodata into the RTC_FAST segment
See merge request idf/esp-idf!2128
2018-09-27 13:05:06 +08:00
Sagar Bijwe
48fccbf5dd
nvs_flash: Add support for nvs encryption
2018-09-24 11:25:21 +05:30
Anton Maklakov
9a55557ad8
build system: Add a compatible old GCC flag
2018-09-20 18:53:14 +08:00
Ivan Grokhotkov
c2a04f6517
unity: silence unused const variables warning
2018-09-20 18:53:14 +08:00
Angus Gratton
593abe0768
Merge branch 'test/fix_ut_cant_process_test_command' into 'master'
...
test: fix ut can't process test command
See merge request idf/esp-idf!3306
2018-09-20 14:38:25 +08:00
He Yin Ling
44e8ec584f
test: ut can't process test command:
...
check ut reset done condition is not correct. If bootup pattern already
exist in cache, we will return without waiting for DUT bootup.
2018-09-19 09:40:59 +08:00
Roland Dobai
da6479e6b7
Correct Python 3 support for some test related scripts
2018-09-18 09:55:51 +00:00
Alex Lisitsyn
ec5eb1e5c2
esp32: Add option to place.rtc_data and .rtc_rodata into the RTC_FAST segment
...
Changes:
KConfig: The option CONFIG_ESP32_RTCDATA_IN_FAST_MEM is added in Kconfig file for esp32 component.
esp32.common.ld: added support of RTC_DATA_ATTR, RTC_RODATA_ATTR data placement into appropriate segment according to Kconfig option.
esp32.ld: linker script is modified to set alias for memory segment selected by Kconfig option to place data. The segments for force placement are added for RTC_FAST_ATTR, RTC_SLOW_ATTR attributes.
esp_attr.h: added new attributes RTC_FAST_ATTR, RTC_SLOW_ATTR for force placement into fest/slow memory.
test_rtc_fast.c: Added unit test cases to check data placement into appropriate memory segment.
Updated documentation for RTC_DATA_ATTR, RTC_FAST_ATTR, RTC_SLOW_ATTR in deep_sleep_stub.rst file.
TW#18001
Closes https://github.com/espressif/esp-idf/issues/1553
2018-09-12 09:25:13 +02:00
houchenyao
73a763fecb
fix the bug that multi device's dut can't detect case
2018-09-12 07:18:00 +00:00
Angus Gratton
6c95285bdb
Merge branch 'bugfix/app_update_test' into 'master'
...
app_update: Change NUM_PIN_APP_TEST for unit test
See merge request idf/esp-idf!3050
2018-08-27 08:46:02 +08:00
Konstantin Kondrashov
4e28799709
app_update: Change NUM_PIN_APP_TEST for unit test
...
Fixed error when `make TESTS_ALL=1`
2018-08-24 16:52:27 +08:00
houchenyao
df83323ee3
bugfix:fix the multi device stop thread bug
2018-08-23 08:51:16 +00:00
Ivan Grokhotkov
4dd7233b20
Merge branch 'feature/reset_reason' into 'master'
...
Add API to get reset reason
See merge request idf/esp-idf!2871
2018-08-21 11:34:12 +08:00
Ivan Grokhotkov
b600a908c4
unit test: fix regex for detecting abort
2018-08-20 16:49:20 +08:00
Konstantin Kondrashov
1da0483619
app_update: Add unit tt pests for ota, factory, test partitions
2018-08-16 09:57:32 +05:00
yulong
72eaaff9fe
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.
...
1. Add the 100 times test when the private key is generated by the random number;
2. Add the bt components to the unit-test-app/config directory.
3. Added the bt unit test case to CI.
2018-08-13 14:08:11 +08:00
Roland Dobai
40486c8723
tools: Allow running unit tests from command line
...
Add argument parsing to unit_test.py to allow running unit tests from
command line.
2018-07-30 13:05:41 +02:00
Angus Gratton
97286b3107
Merge branch 'feature/cmd_flash_reset_ota_data' into 'master'
...
make: Add feature to cmd 'make flash' - reset ota_data partition
See merge request idf/esp-idf!2611
2018-07-30 13:52:43 +08:00
He Yin Ling
bffcea09df
CI: erase nvs partition before test:
...
Latest NVS partition bin can't be parsed by old IDF revision. Need to erase before test.
2018-07-27 17:22:24 +08:00
Konstantin Kondrashov
de2b1cb02a
make: Add feature to cmd 'make flash' - reset ota_data partition
...
Add a command `make erase_ota` - erases otadata if it there is in the
partition table otherwise error 'Partition table does not have ota_data partition'.
Closes https://github.com/espressif/esp-idf/issues/1821
2018-07-25 11:22:15 +00:00
Ivan Grokhotkov
d50c03cc7d
Merge branch 'bugfix/unit-test-build-fix' into 'master'
...
unit-test-app: don’t include project.mk for ut- targets
See merge request idf/esp-idf!2619
2018-07-24 20:48:12 +08:00
Ivan Grokhotkov
b0af8ad22f
unit-test-app: don’t include project.mk for ut- targets
...
If project.mk is included twice in recursive invocation of Make, some
variables defined on the first pass will not be redefined on the
second pass. Rather than cleaning up these variables before calling
Make recursively, don’t include IDF project.mk at all, if one of the
ut- targets is requested.
2018-07-24 09:54:55 +03:00