Tools: use same-bdshotness boards for ccache test

This commit is contained in:
Maxim Buzdalov 2024-04-07 10:32:48 +01:00 committed by Andrew Tridgell
parent b0351cd339
commit 5e5fde78c2
2 changed files with 3 additions and 3 deletions

View File

@ -143,6 +143,6 @@ jobs:
shell: bash shell: bash
run: | run: |
PATH="/usr/lib/ccache:/opt/gcc-arm-none-eabi-${{matrix.gcc}}/bin:$PATH" PATH="/usr/lib/ccache:/opt/gcc-arm-none-eabi-${{matrix.gcc}}/bin:$PATH"
Tools/scripts/build_tests/test_ccache.py --boards MatekF405,MatekF405-bdshot --min-cache-pct=75 Tools/scripts/build_tests/test_ccache.py --boards MatekF405-bdshot,MatekF405-TE-bdshot --min-cache-pct=75
Tools/scripts/build_tests/test_ccache.py --boards Durandal,Pixhawk6X --min-cache-pct=70 Tools/scripts/build_tests/test_ccache.py --boards Durandal-bdshot,Pixhawk6X --min-cache-pct=70

View File

@ -9,7 +9,7 @@ import sys
import os import os
parser = argparse.ArgumentParser(description='test ccache performance') parser = argparse.ArgumentParser(description='test ccache performance')
parser.add_argument('--boards', default='MatekF405,MatekF405-bdshot', help='boards to test') parser.add_argument('--boards', default='MatekF405-bdshot,MatekF405-TE-bdshot', help='boards to test')
parser.add_argument('--min-cache-pct', type=int, default=75, help='minimum acceptable ccache hit rate') parser.add_argument('--min-cache-pct', type=int, default=75, help='minimum acceptable ccache hit rate')
parser.add_argument('--display', action='store_true', help='parse and show ccache stats') parser.add_argument('--display', action='store_true', help='parse and show ccache stats')