drd: Port to Fedora 33
[valgrind.git] / tests / post_regtest_checks
blob8024f40cef36b494d425396a07fe65e31f0e365c
1 #!/bin/sh
3 #-------------------------------------------------------------------
5 # This script is invoked after regression testing has finished
6 # It performs various consistency checks.
8 # Arguments passed to this script are (from left to right)
9 # - absolute path name of valgrind's root directory
10 # - list of directories being passed to check_makefile_consistency
12 #-------------------------------------------------------------------
14 # echo "$@"
16 abs_top_srcdir="$1"
17 test_dir="$abs_top_srcdir/tests"
18 shift
20 errors=0
22 #-------------------------------------------------------------------
24 echo "...checking makefile consistency"
25 $test_dir/check_makefile_consistency "$@"
26 if [ $? != 0 ]; then
27 errors=1
30 #-------------------------------------------------------------------
32 echo "...checking header files and include directives"
33 $test_dir/check_headers_and_includes "$abs_top_srcdir"
34 if [ $? != 0 ]; then
35 errors=1
38 exit $errors