1
0
mirror of https://github.com/ioacademy-jikim/debugging synced 2025-07-07 14:46:11 +00:00
2015-12-13 22:34:58 +09:00

39 lines
941 B
Bash
Executable File

#!/bin/sh
#-------------------------------------------------------------------
#
# This script is invoked after regression testing has finished
# It performs various consistency checks.
#
# Arguments passed to this script are (from left to right)
# - absolute path name of valgrind's root directory
# - list of directories being passed to check_makefile_consistency
#
#-------------------------------------------------------------------
# echo "$@"
abs_top_srcdir="$1"
test_dir="$abs_top_srcdir/tests"
shift
errors=0
#-------------------------------------------------------------------
echo "...checking makefile consistency"
$test_dir/check_makefile_consistency "$@"
if [ $? != 0 ]; then
errors=1
fi
#-------------------------------------------------------------------
echo "...checking header files and include directives"
$test_dir/check_headers_and_includes "$abs_top_srcdir"
if [ $? != 0 ]; then
errors=1
fi
exit $errors