He Yin Ling
b85e9e5cda
tiny-test-fw: support translate backtrace in IDFDUT
2019-03-19 11:24:08 +08:00
He Yin Ling
f11eba7802
tiny-test-fw: support detect exception in IDFDUT
2019-03-19 11:24:08 +08:00
Ivan Grokhotkov
b65a088791
tinyfw: update to support new esptool argument
2019-01-22 18:40:25 +08:00
David Cermak
b13a536041
mqtt tests: connect to local broker when running in CI to make the tests more reliable
2019-01-11 15:30:15 +01:00
He Yin Ling
1c54630eaa
test: fix failed to download in example test:
...
1. example test uses auto detect flash size. we need to call
`detect_flash_size` before write flash
2. fix incorrect baudrate used: when using WROVER-Kits, it's likely that download with baudrate 921600
will fail. If we don't reset serial setting in decorator, 921600 will
become the default baudrate. This causes all the subsequent
communication fails
3. do hw reset after used esptool function
2019-01-02 20:49:03 +08:00
Roland Dobai
bfa9610f58
tools: Fix the Python coding style
2018-12-19 11:56:24 +01:00
Angus Gratton
b3249d56f3
unit tests: Fix retrying with a new baud rate in IDFDUT.start_app()
2018-12-18 14:09:29 +11:00
Angus Gratton
f6e857c2b9
unit tests: Keep serial port open when running esptool
...
* Call esptool directly not via subprocess
* Use the same serial port instance for listener thread and esptool
* Includes some refactoring for encapsulation of App vs DUT members
2018-12-18 14:09:29 +11:00
He Yin Ling
644571f78b
test: generate junit test report according to executed cases
2018-11-26 10:07:41 +08:00
He Yin Ling
8e70582cad
tiny-test-fw: enhanced junit test report support:
...
1. replace xunitgen with junit_xml, which can log more info
2. allow test cases to handle junit test report by them own
3. allow test cases to log some info into report via `sysout` tag
2018-11-22 20:49:15 +08:00
David Cermak
8ce1f55b59
mqtt: example tests refactored to provide descriptive failures, addapted to python23, removed workarround for launching without mqtt-paho package
2018-11-01 09:04:09 +01:00
Roland Dobai
17b7959de9
Examples: Add Python 2&3 support
2018-09-25 08:05:56 +02:00
Roland Dobai
130a8ea324
tiny-test-fw: Detect either 'download.config' or 'flash_project_args'
2018-09-20 06:39:04 +00:00
Roland Dobai
bc307c920c
tiny-test-fw: Print more useful info when download.config doesn't exist
2018-08-27 12:47:08 +02: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
He Yin Ling
5f26b36f0f
tiny-test-fw: filter examples with test level
2018-07-13 07:04:05 +00:00
He Yin Ling
5edc9f9752
tiny-test-fw: filter out invalid IDF ports
2018-07-11 00:00:40 +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
Ivan Grokhotkov
8a88dd3590
tiny-test-fw: IDFDUT: in the absence of configuration, try ESPPORT first
2018-07-02 10:40:23 +00:00
houchenyao
5b8a9478a3
CI: new CI ut framework, and can run it in local PC
2018-02-05 06:58:22 +00:00
He Yin Ling
9395a702ef
test: check and collect performance via CI
2017-11-16 17:48:30 +08:00
He Yin Ling
47a9a4a614
test: add test fw for example test
2017-10-31 17:42:19 +08:00