A sandbox system to automate the building of the source tree and
reporting differences in compiler output with the output of the previous build.
This commit is contained in:
parent
8ed9644253
commit
4a4923f951
26 changed files with 476 additions and 0 deletions
37
src/scripts/nightly/diff_to_prev.sh
Executable file
37
src/scripts/nightly/diff_to_prev.sh
Executable file
|
@ -0,0 +1,37 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $Id$$Source$
|
||||
#
|
||||
# Check differences between the last two logs
|
||||
#
|
||||
# Blame it on marcolz
|
||||
#
|
||||
|
||||
PROGNAME="$0"
|
||||
|
||||
usage() {
|
||||
echo "Usage: ${PROGNAME} <configfile>" >&2;
|
||||
exit 1;
|
||||
}
|
||||
|
||||
[ $# -lt 1 ] && usage
|
||||
|
||||
[ -f "$1" ] || usage
|
||||
|
||||
# Source config file
|
||||
case "$1"
|
||||
in
|
||||
*/*)
|
||||
. "$1"
|
||||
;;
|
||||
*)
|
||||
. ./"$1"
|
||||
;;
|
||||
esac
|
||||
|
||||
[ -f "${SCRIPTDIR}/common.sh" ] || { echo "Broken config ?" >&2; exit 1; }
|
||||
. "${SCRIPTDIR}"/common.sh
|
||||
|
||||
cd "${LOGDIR}" || err "Could not cd to ${LOGDIR}"
|
||||
|
||||
diff -u $(ls "${EMPTARGET}.${ARCH}."* | tail -2)
|
Loading…
Add table
Add a link
Reference in a new issue