4 # This file is part of mbed TLS (https://tls.mbed.org)
6 # Copyright (c) 2017, ARM Limited, All Rights Reserved
10 # Called by "git push" after it has checked the remote status, but before anything has been
11 # pushed. If this script exits with a non-zero status nothing will be pushed.
12 # This script can also be used independently, not using git.
14 # This hook is called with the following parameters:
16 # $1 -- Name of the remote to which the push is being done
17 # $2 -- URL to which the push is being done
19 # If pushing without using a named remote those arguments will be equal.
21 # Information about the commits which are being pushed is supplied as lines to
22 # the standard input in the form:
24 # <local ref> <local sha1> <remote ref> <remote sha1>
30 echo "REMOTE is $REMOTE"
38 echo "running '$TEST'"
39 if ! `$TEST > /dev/null 2>&1`; then
40 echo "test '$TEST' failed"
45 run_test ./tests/scripts/check-doxy-blocks.pl
46 run_test ./tests/scripts/check-names.sh
47 run_test ./tests/scripts/check-generated-files.sh
48 run_test ./tests/scripts/check-files.py
49 run_test ./tests/scripts/doxygen.sh