From 8c3ad4bfcb2985210805142fa837c12339bfde5d Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 24 Mar 2020 15:09:13 +0100 Subject: [PATCH] Make check_python_files non-optional in all.sh check_python_files was optional in all.sh because we used to have CI machines where pylint wasn't available. But this had the downside that check_python_files kept breaking because it wasn't checked in the CI. Now our CI has pylint and check_python_files should not be optional. Signed-off-by: Gilles Peskine --- tests/scripts/all.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index dd8f510dd..4e4951552 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1409,15 +1409,6 @@ component_test_zeroize () { unset gdb_disable_aslr } -support_check_python_files () { - # Find the installed version of Pylint. Installed as a distro package this can - # be pylint3 and as a PEP egg, pylint. - if type pylint >/dev/null 2>/dev/null || type pylint3 >/dev/null 2>/dev/null; then - true; - else - false; - fi -} component_check_python_files () { msg "Lint: Python scripts" record_status tests/scripts/check-python-files.sh