Home | History | Annotate | Download | only in tests
      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 
     16 abs_top_srcdir="$1"
     17 test_dir="$abs_top_srcdir/tests"
     18 shift
     19 
     20 errors=0
     21 
     22 #-------------------------------------------------------------------
     23 
     24 echo "...checking makefile consistency"
     25 $test_dir/check_makefile_consistency "$@"
     26 if [ $? != 0 ]; then
     27    errors=1
     28 fi
     29 
     30 #-------------------------------------------------------------------
     31 
     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
     36 fi
     37 
     38 exit $errors
     39