mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
13 lines
645 B
Bash
Executable File
13 lines
645 B
Bash
Executable File
#! /bin/bash
|
|
|
|
{ coverage debug sys \
|
|
&& coverage erase &> output \
|
|
&& coverage run -a $IDF_PATH/tools/idf_size.py app.map &>> output \
|
|
&& coverage run -a $IDF_PATH/tools/idf_size.py --archives app.map &>> output \
|
|
&& coverage run -a $IDF_PATH/tools/idf_size.py --files app.map &>> output \
|
|
&& coverage run -a $IDF_PATH/tools/idf_size.py --archive_details libdriver.a app.map &>> output \
|
|
&& coverage run -a $IDF_PATH/tools/test_idf_size/test_idf_size.py &>> output \
|
|
&& diff output expected_output \
|
|
&& coverage report \
|
|
; } || { echo 'The test for idf_size has failed. Please examine the artifacts.' ; exit 1; }
|