]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
CI: Fix unmigrated symbol test
authorTom Rini <trini@konsulko.com>
Fri, 11 Mar 2022 12:12:45 +0000 (07:12 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 18 Mar 2022 12:43:24 +0000 (08:43 -0400)
When calling comm to compare the CONFIG symbols a defconfig uses with
the symbols that have been migrated, we need to suppress all output as
the summary line will have everything we need.  Failure to do this leads
to the test blowing up, but in non-fatal ways.

Signed-off-by: Tom Rini <trini@konsulko.com>
.azure-pipelines.yml
.gitlab-ci.yml

index cf49161c6f3a9f0a4d4966314a21a2d8fe73f19d..0f1a1bd86326c0e5f51971463309a5be62619d04 100644 (file)
@@ -71,7 +71,7 @@ stages:
              grep '#define[[:blank:]]CONFIG_' $CFG | \
                 sed -n 's/#define.\(CONFIG_[A-Za-z0-9_]*\).*/\1/p' | \
                 sort -u > ${KUSEDLST} || true
-             NUM=`comm -12 --total --output-delimiter=, ${KSYMLST} ${KUSEDLST} | \
+             NUM=`comm -123 --total --output-delimiter=, ${KSYMLST} ${KUSEDLST} | \
                 cut -d , -f 3`
              if [[ $NUM -ne 0 ]]; then
                 echo "Unmigrated symbols found in $CFG"
index 31f50968a33e916c5208dce9ff235db5c7dcee18..388e666ec9e3070a0a7796058dc0f5380bb0d16c 100644 (file)
@@ -132,7 +132,7 @@ check for migrated symbols in board header:
          grep '#define[[:blank:]]CONFIG_' $CFG |
             sed -n 's/#define.\(CONFIG_[A-Za-z0-9_]*\).*/\1/p' |
             sort -u > ${KUSEDLST} || true;
-         NUM=`comm -12 --total --output-delimiter=, ${KSYMLST} ${KUSEDLST} |
+         NUM=`comm -123 --total --output-delimiter=, ${KSYMLST} ${KUSEDLST} |
             cut -d , -f 3`;
          if [[ $NUM -ne 0 ]]; then
             echo "Unmigrated symbols found in $CFG";