1#!/bin/sh 2 3#------------------------------------------------------------------- 4# 5# This script is invoked after regression testing has finished 6# It performs various consistency checks. 7# 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 11# 12#------------------------------------------------------------------- 13 14# echo "$@" 15 16abs_top_srcdir="$1" 17test_dir="$abs_top_srcdir/tests" 18shift 19 20errors=0 21 22#------------------------------------------------------------------- 23 24echo "...checking makefile consistency" 25$test_dir/check_makefile_consistency "$@" 26if [ $? != 0 ]; then 27 errors=1 28fi 29 30#------------------------------------------------------------------- 31 32echo "...checking header files and include directives" 33$test_dir/check_headers_and_includes "$abs_top_srcdir" 34if [ $? != 0 ]; then 35 errors=1 36fi 37 38exit $errors 39