test.sh 341 B

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