Build: Don't do stats/diffs for fixes branch

This commit is contained in:
Joshua Bell 2018-11-26 20:23:06 -08:00
parent 019263a014
commit d0b516eb2f
3 changed files with 0 additions and 57 deletions

View File

@ -5,31 +5,5 @@
set -e
source "../res/util.sh"
function verify {
diff "orig/$1.bin" "out/$1.built" \
&& (cecho green "diff $1 good" ) \
|| (tput blink ; cecho red "DIFF $1 BAD" ; return 1)
}
function stats {
echo "$(printf '%-20s' $1)""$(../res/stats.pl < $1)"
}
#do_make clean
do_make all
# Verify original and output match
echo "Verifying diffs:"
cecho yellow "calculator N/A - patches applied"
cecho yellow "show.text.file N/A - patches applied"
cecho yellow "date N/A - patches applied"
verify "puzzle"
verify "sort.directory"
# Compute stats
echo "Stats:"
stats "calculator.s"
stats "show.text.file.s"
stats "date.s"
stats "puzzle.s"
stats "sort.directory.s"

View File

@ -5,17 +5,5 @@
set -e
source "../res/util.sh"
function stats {
echo "$(printf '%-15s' $1)""$(../res/stats.pl < $1)"
}
#do_make clean
do_make all
SOURCES="desktop.system"
# Compute stats
echo "Stats:"
for t in $SOURCES; do
stats "$t.s"
done;

View File

@ -5,24 +5,5 @@
set -e
source "../res/util.sh"
function stats {
echo "$(printf '%-15s' $1)""$(../res/stats.pl < $1)"
}
#do_make clean
do_make all
COMMON="loader mgtk"
TARGETS="$COMMON desktop"
SOURCES="$COMMON desktop_main desktop_res desktop_aux invoker ovl1 ovl1a ovl1b ovl1c ovl2 ovl3 ovl4 ovl5 ovl6 ovl7"
# Compute stats
echo "Stats:"
for t in $SOURCES; do
stats "$t.s"
done;
# Mountable directory for Virtual ][
if [ -d mount ]; then
res/mount.sh
fi