mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 05:35:28 +00:00
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
1ee685018a
commit
d2b5ad871d
|
@ -72,18 +72,4 @@ echo "URL is $URL"
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
run_test()
|
tests/scripts/all.sh -q -k 'check_*'
|
||||||
{
|
|
||||||
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
|
|
||||||
|
|
Loading…
Reference in a new issue