Skip to content

Commit 6516f90

Browse files
marc-hblgirdwood
authored andcommitted
sparse: pass platform argument to error filter script
So we can make adjust the warnings based on the platform. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent e39205c commit 6516f90

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/sparse-zephyr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ jobs:
7878
./sof/zephyr/docker-build.sh ${{ matrix.platforms.platform }} \
7979
--cmake-args=-DSPARSE=y --pristine 2>&1 | tee _.log
8080
printf '\n\n\t\t\t ---- Messages below are treated as sparse errors --- \n\n\n'
81-
(set -x; ./sof/scripts/parse_sparse_output.sh < _.log)
81+
(set -x; ./sof/scripts/parse_sparse_output.sh ${{ matrix.platforms.platform }} <_.log)

scripts/parse_sparse_output.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
main()
1515
{
16+
local platform="$1" # optional
1617
local sparse_errors=()
1718

1819
>&2 printf 'Reminder: to see ALL warnings you must as usual build _from scratch_\n'

0 commit comments

Comments
 (0)