lf_help_check.bash : check to see if --help files works on scripts

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-09-27 14:53:26 -06:00
parent 8e745d3f75
commit d806ee4c25

8
py-scripts/lf_help_check.bash Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
FILES=`ls *.py`
for FILE in $FILES
do
echo $FILE
(timeout 10 python3 ./${FILE} --help > /dev/null && echo PASSED) || echo "FAILED ${FILE}"
done