Sachin Parekh
7a5400ce77
make dump_otadata: Displays app ota_seq and crc on console
2018-08-22 16:51:36 +08: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
fd61c1440b
tiny-test-fw: invoke expect callbacks in order of appearance
...
Previously the callbacks were invoked in the same order as the list of
patterns to be matched.
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
b600a908c4
unit test: fix regex for detecting abort
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
164e324fe2
Merge branch 'feature/bootloader_unit_tests' into 'master'
...
app_update: Add unit tests for ota, factory, test partitions
See merge request idf/esp-idf!2565
2018-08-17 14:39:50 +08:00
Konstantin Kondrashov
1da0483619
app_update: Add unit tt pests for ota, factory, test partitions
2018-08-16 09:57:32 +05:00
Tian Hao
ab73e0ff13
tools: fix ci example build report reassign warnning
2018-08-16 11:12:22 +08:00
Jiang Jiang Jian
886bf4b88e
Merge branch 'bugfix/btdm_ecdh_public_key_not_check' into 'master'
...
component/bt: Fixed the vulnerability released by Bluetooth org when using…
See merge request idf/esp-idf!2933
2018-08-13 15:44:13 +08: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
Angus Gratton
50e7b116c1
docs: Add gen-version-specific-includes.py to executables list
2018-08-13 13:37:23 +10:00
Angus Gratton
6bd58beac5
tiny-test-fw: Increase default expect timeout to 10 seconds
...
Fix CI failures due to (for example) DHCP lease taking more than 5s to be negotiated.
2018-08-03 16:55:50 +10:00
Roland Dobai
1d1533ee8e
expat: Move libexpat into submodule and update to version 2.2.5
2018-07-31 13:25:00 +02:00
Angus Gratton
321b1e0205
Merge branch 'feature/unit_tests_command_line' into 'master'
...
tools: Allow running unit tests from command line
See merge request idf/esp-idf!2589
2018-07-31 11:38:22 +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
David Cermak
1ef13c524c
asio: initial idf port of asio library without ssl
2018-07-30 06:28:43 +00: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
85bc2d5967
tiny-test-fw: support ignore test cases in CI assign test stage
2018-07-27 19:44:15 +08:00
He Yin Ling
316d087960
tiny-test-fw: fix exception during print debug info:
...
DUT log is unicode, might not be able to encode
2018-07-27 19:44:15 +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
Angus Gratton
466ec6d9ac
Merge branch 'bugfix/ci_use_mirror_for_public' into 'master'
...
ci: Use local mirrors on the public branches too
See merge request idf/esp-idf!2836
2018-07-24 12:19:24 +08:00
Anton Maklakov
d5f666dee3
ci: Use local mirrors on the public branches (master, release-) too
...
Use DONT_USE_MIRROR=1 to force using the original repositories if you need
2018-07-23 17:04:38 +08:00
Angus Gratton
57342c449d
Merge branch 'feature/tools_mass_mfg' into 'master'
...
Add files for mass manufacturing tool
See merge request idf/esp-idf!2716
2018-07-23 13:10:17 +08:00
Ivan Grokhotkov
999c3dbf0e
Merge branch 'feature/test_exclude_components' into 'master'
...
build: Add TEST_EXCLUDE_COMPONENTS
See merge request idf/esp-idf!2648
2018-07-20 19:43:46 +08:00
Shivani Tipnis
35205d8513
Add files and docs for mass mfg
2018-07-20 10:41:11 +05:30
Angus Gratton
aa4d77467b
Merge branch 'bugfix/esp_err_ignore_dirs' into 'master'
...
esp32: Do not document error codes defined in examples
See merge request idf/esp-idf!2732
2018-07-18 08:29:53 +08:00
He Yin Ling
4f971619fa
tiny-test-fw: save DUT log in different thread:
...
We found some SD card on Raspberry Pi could have very bad performance.
It could take seconds to save small amount of data.
If the DUT receives data and save it as log, then it stops receiving data until log is saved.
This could lead to expect timeout. As an workaround to this issue,
``BaseDUT`` class will create a thread to save logs.
Then data will be passed to ``expect`` as soon as received.
2018-07-13 07:04:05 +00:00
He Yin Ling
b452cea04e
tiny-test-fw: fix incorrect wait timeout in expect
2018-07-13 07:04:05 +00:00
He Yin Ling
5f26b36f0f
tiny-test-fw: filter examples with test level
2018-07-13 07:04:05 +00:00
He Yin Ling
23d98aa358
tiny-test-fw: print expect failure when test fails
2018-07-13 07:04:05 +00:00
Ivan Grokhotkov
46639bab85
Merge branch 'bugfix/crlf_auto_conversion' into 'master'
...
Convert CRLF (Windows line endings) to LF (Unix style), add CI check
See merge request idf/esp-idf!2119
2018-07-13 11:44:57 +08:00
He Yin Ling
01efe9a300
Merge branch 'feature/ci_support_test_one_case_multiple_times' into 'master'
...
CI: support test one case multiple times by @bot
See merge request idf/esp-idf!2692
2018-07-12 19:57:21 +08:00
He Yin Ling
05d74d532e
Merge branch 'bugfix/tiny_test_fw_filter_invalid_serial_port' into 'master'
...
tiny-test-fw: filter out invalid IDF ports
See merge request idf/esp-idf!2745
2018-07-12 19:56:48 +08:00
Roland Dobai
bb4c8b725c
Tools: Correct line endings in idf_monitor tests
2018-07-12 19:10:37 +08:00
Angus Gratton
74245d27d3
ci: Add line endings check for CRLF in repository
2018-07-12 19:10:37 +08:00
He Yin Ling
15858895a4
CI: support test one case multiple times by @bot
2018-07-11 10:22:13 +08:00
He Yin Ling
5edc9f9752
tiny-test-fw: filter out invalid IDF ports
2018-07-11 00:00:40 +08:00
Konstantin Kondrashov
bec14ad8ee
build: Add TEST_EXCLUDE_COMPONENTS
...
To exclude during the build process of unit tests some components.
2018-07-10 13:44:41 +05:00
Roland Dobai
20f80da723
esp32: Do not document error codes defined in examples
2018-07-10 07:57:54 +02:00
Roland Dobai
c1ae49dda1
Test the IDF Monitor through sockets
...
Creates a socket by socat and sends tests to the idf_monitor through it.
2018-07-09 08:37:40 +02:00
Ivan Grokhotkov
6ee3cf67bd
Merge branch 'feature/nvs_part_gen_improvements' into 'master'
...
Feature/nvs part gen improvements
See merge request idf/esp-idf!2555
2018-07-04 17:33:13 +08:00
Angus Gratton
91e7a6e7a3
Merge branch 'bugfix/console_performance' into 'master'
...
idf_monitor: Fix console performance
See merge request idf/esp-idf!2570
2018-07-03 14:04:23 +08:00
Ivan Grokhotkov
eb85c4ec15
tiny-test-fw: handle case when ESPPORT is not set
...
Fix bug introduced in 8a88dd35
, where .decode was called on result of
os.getenv, which was None if ESPPORT was not set.
2018-07-02 21:45:27 +08:00
He Yin Ling
0c3e34b79a
tiny-test-fw: add class diagram to document
2018-07-02 10:40:23 +00:00
Ivan Grokhotkov
6a626f7984
tiny-test-fw: add requirements.txt, small docs tweaks
2018-07-02 10:40:23 +00:00
Ivan Grokhotkov
8a88dd3590
tiny-test-fw: IDFDUT: in the absence of configuration, try ESPPORT first
2018-07-02 10:40:23 +00:00
Piyush Shah
8369bd244b
nvs_partition_generator: Modifications to enable using the utility as a Python library
...
And also use directly as an executable
2018-07-02 15:39:52 +05:30
houchenyao
9223639010
stop main thread when one failed
2018-06-26 11:02:23 +08:00