mirror of
				https://github.com/Mbed-TLS/mbedtls.git
				synced 2025-11-03 20:33:16 +03: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:
		@@ -72,18 +72,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_*'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user