summaryrefslogtreecommitdiff
path: root/zephyr/zmake/run_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/zmake/run_tests.sh')
-rwxr-xr-xzephyr/zmake/run_tests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/zephyr/zmake/run_tests.sh b/zephyr/zmake/run_tests.sh
index 4796704440..54d0bf98a4 100755
--- a/zephyr/zmake/run_tests.sh
+++ b/zephyr/zmake/run_tests.sh
@@ -36,3 +36,9 @@ flake8 .
# Check auto-generated README.md is as expected.
python -m zmake generate-readme --diff
+
+# Check that cros lint has no errors, we can't actually call cros lint
+# because there is no way to pass the -E flag to pylint.
+# When there are no warnings, switch this to `cros lint`
+find . -name '*.py' -print0 | xargs -0 \
+ /mnt/host/source/chromite/cli/cros/pylint-2 '--rcfile=.pylintrc' -E