projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d4850ff
)
Added printout to build_nmh to report number of tests not run.
author
David Levine
<levinedl@acm.org>
Wed, 20 Jun 2012 01:36:14 +0000
(20:36 -0500)
committer
David Levine
<levinedl@acm.org>
Wed, 20 Jun 2012 01:36:14 +0000
(20:36 -0500)
docs/contrib/build_nmh
patch
|
blob
|
history
diff --git
a/docs/contrib/build_nmh
b/docs/contrib/build_nmh
index
335e042
..
0ff4269
100755
(executable)
--- a/
docs/contrib/build_nmh
+++ b/
docs/contrib/build_nmh
@@
-292,9
+292,13
@@
if [ $status -eq 0 ]; then
status=$?
tests_summary=`echo "$checkoutput" | grep tests`
status=$?
tests_summary=`echo "$checkoutput" | grep tests`
+ #### If multiple tests not run, that line will be caught by the
+ #### "grep tests" above.
+ test_not_run=`echo "$checkoutput" | grep 'test was not run'`
if [ "$tests_summary" ]; then
echo '===================' >>$logfile
echo $tests_summary >>$logfile
if [ "$tests_summary" ]; then
echo '===================' >>$logfile
echo $tests_summary >>$logfile
+ [ "$test_not_run" ] && echo "$test_not_run" >>$logfile
echo '===================' >>$logfile
[ "$check" = distcheck ] && \
echo "$checkoutput" | tail -n 4 >>$logfile
echo '===================' >>$logfile
[ "$check" = distcheck ] && \
echo "$checkoutput" | tail -n 4 >>$logfile