2020-04-02 23:10:02 +00:00
|
|
|
#!/usr/bin/env bash
|
2018-12-13 22:18:16 +00:00
|
|
|
|
2022-01-04 01:35:08 +00:00
|
|
|
{ python -m coverage debug sys \
|
|
|
|
&& python -m coverage erase &> output \
|
|
|
|
&& python -m coverage run -a $IDF_PATH/tools/esp_app_trace/logtrace_proc.py adc_log.trc test.elf &>> output \
|
2018-12-13 22:18:16 +00:00
|
|
|
&& diff output expected_output \
|
2022-01-04 01:35:08 +00:00
|
|
|
&& python -m coverage report \
|
2018-12-13 22:18:16 +00:00
|
|
|
; } || { echo 'The test for logtrace_proc has failed. Please examine the artifacts.' ; exit 1; }
|