Using the method from @cemeyer (https://github.com/espressif/esp-idf/pull/3166): find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} + Closes https://github.com/espressif/esp-idf/pull/3166.
8 lines
341 B
Bash
Executable file
8 lines
341 B
Bash
Executable file
#!/usr/bin/env 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; }
|