Fix disconcerting discrepancy

With the addition of contrib/Makfile we said "19 out of 20" were built.
This commit is contained in:
Douglas Katzman 2020-01-15 16:10:45 -05:00
parent 03887a61da
commit aa57a380e7

View file

@ -82,7 +82,11 @@ maybetime sh make-host-2.sh
maybetime sh make-target-2.sh
maybetime sh make-target-contrib.sh
NCONTRIBS=`find contrib -name Makefile -print | wc -l`
# contrib/Makefile shouldn't be counted in NCONTRIBS.
# "find contrib/* -name Makefile" would still find contrib/./Makefile.
# "find contrib/{sb-*,asdf}/Makefile" could work,
# but as long as we only have 1 directory level, 'ls' should be adequate.
NCONTRIBS=`ls -1 contrib/*/Makefile | wc -l`
NPASSED=`find obj/asdf-cache -name test-passed.test-report -print | wc -l`
echo
echo "The build seems to have finished successfully, including $NPASSED (out of $NCONTRIBS)"