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.
9 lines
385 B
Bash
Executable file
9 lines
385 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
{ coverage debug sys \
|
|
&& coverage erase \
|
|
&& coverage run -a --source=espcoredump ../espcoredump.py info_corefile -m -t b64 -c coredump.b64 test.elf &> output \
|
|
&& diff expected_output output \
|
|
&& coverage run -a --source=espcoredump ./test_espcoredump.py \
|
|
&& coverage report \
|
|
; } || { echo 'The test for espcoredump has failed!'; exit 1; }
|