mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
12 lines
555 B
Bash
Executable File
12 lines
555 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 -s core.elf test.elf &> output \
|
|
&& diff expected_output output \
|
|
&& coverage run -a --source=espcoredump ../espcoredump.py info_corefile -m -t elf -c core.elf test.elf &> output2 \
|
|
&& diff expected_output output2 \
|
|
&& coverage run -a --source=espcoredump ./test_espcoredump.py \
|
|
&& coverage report \
|
|
; } || { echo 'The test for espcoredump has failed!'; exit 1; }
|