soc/intel/alderlake: Update the VccIn Aux Imon IccMax for ADL-M
[coreboot.git] / util / lint / check_lint_tests
blob6c050ee13b88a8572c56434c8ab4f6a1c975cee3
1 #!/usr/bin/env bash
3 # test to make sure the lint tests fail
4 SPACE=' '
5 UNDERSCORE='_'
7 #lint-stable-000-license-headers
8 TESTFILE000a=src/arch/x86/thread.c
9 TESTFILE000b=src/arch/riscv/misc.c
10 sed -i.bak 's/^[[:space:]]\*[[:space:]].*//' ${TESTFILE000a}
11 sed -i.bak 's/^[[:space:]]\*[[:space:]]but WITHOUT ANY WARRANTY;//' ${TESTFILE000b}
13 #lint-stable-003-whitespace
14 TESTFILE003=src/acpi/sata.c
15 sed -i.bak 's/^$/ /' ${TESTFILE003}
17 #lint-stable-004-style-labels
18 TESTFILE004=src/soc/nvidia/tegra124/spi.c
19 sed -i.bak 's/^done:/ done:/' ${TESTFILE004}
21 #lint-stable-005-board-status
22 TESTFILE005a=src/mainboard/google/storm/board_info.txt
23 sed -i.bak 's/^Category:.*/Category: lint/' ${TESTFILE005a}
25 #lint-stable-006-board-name
26 TESTFILE006=src/mainboard/ibase/mb899/Kconfig.name
27 rm -f ${TESTFILE006}
29 #lint-stable-008-kconfig
31 #lint-stable-009-old-licenses
32 TESTFILE009=src/superio/common/conf_mode.c
33 sed -i "s/for more details./for more details.\n \* You${SPACE}should${SPACE}have received a copy of the GNU General Public License\n \* along with this program; if not, write to the Free Software\n \* Foundation, Inc./" ${TESTFILE009}
34 git add ${TESTFILE009}
36 #lint-stable-010-asm-syntax
37 TESTFILE010=src/arch/x86/bootblock_crt0.S
38 sed -i "1s/^/.att${UNDERSCORE}syntax noprefix\n/" ${TESTFILE010}
39 git add ${TESTFILE010}
41 #lint-stable-012-executable-bit
42 TESTFILE012=src/lib/libgcc.c
43 chmod +x ${TESTFILE012}
45 #lint-stable-013-site-local
46 mkdir -p site-local
47 TESTFILE013=$(mktemp --tmpdir=site-local)
48 git add -f ${TESTFILE013}