OVMS3-idf/tools/esp_app_trace/test/logtrace/test.sh
2019-04-01 19:31:45 +03:00

8 lines
334 B
Bash
Executable file

#! /bin/bash
{ coverage debug sys \
&& coverage erase &> output \
&& coverage run -a $IDF_PATH/tools/esp_app_trace/logtrace_proc.py adc_log.trc test.elf &>> output \
&& diff output expected_output \
&& coverage report \
; } || { echo 'The test for logtrace_proc has failed. Please examine the artifacts.' ; exit 1; }