Use all.sh in pre-push hook
The list in the pre-push hook was redundant with the list of `check_*` components in all.sh, and unsurprisingly it was outdated. Missing components were: - check_recursion - check_changelog - check_test_cases - check_python_files - check_generate_test_code Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
a9119167e0
commit
129e13cb12
@ -32,18 +32,4 @@ echo "URL is $URL"
|
||||
|
||||
set -eu
|
||||
|
||||
run_test()
|
||||
{
|
||||
TEST=$1
|
||||
echo "running '$TEST'"
|
||||
if ! `$TEST > /dev/null 2>&1`; then
|
||||
echo "test '$TEST' failed"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
run_test ./tests/scripts/check-doxy-blocks.pl
|
||||
run_test ./tests/scripts/check-names.sh
|
||||
run_test ./tests/scripts/check-generated-files.sh
|
||||
run_test ./tests/scripts/check-files.py
|
||||
run_test ./tests/scripts/doxygen.sh
|
||||
tests/scripts/all.sh -q -k 'check_*'
|
||||
|
Loading…
Reference in New Issue
Block a user