mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
avoid a few warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39761 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d6911e7252
commit
309a862c23
3 changed files with 84 additions and 71 deletions
|
@ -1,3 +1,9 @@
|
|||
2016-05-13 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* TestFramework/Summary.sh:
|
||||
* TestFramework/gnustep-tests.in:
|
||||
Avoid some pointless warnings when cleaning
|
||||
|
||||
2016-05-13 Yavor Doganov <yavor@gnu.org>
|
||||
|
||||
* Instance/framework.make:
|
||||
|
|
|
@ -35,75 +35,77 @@ present()
|
|||
return 1
|
||||
}
|
||||
|
||||
present "$GSTESTSUM" "Failed set$" "Failed sets$" "Failed test$" "Failed tests$" "Failed build$" "Failed builds$" "Failed file$" "Failed files$"
|
||||
if [ $? = 1 ]
|
||||
then
|
||||
echo "All OK!"
|
||||
|
||||
if present "$GSTESTSUM" "Dashed hope$" "Dashed hopes$"
|
||||
if test -r "$GSTESTSUM"
|
||||
then
|
||||
present "$GSTESTSUM" "Failed set$" "Failed sets$" "Failed test$" "Failed tests$" "Failed build$" "Failed builds$" "Failed file$" "Failed files$"
|
||||
if [ $? = 1 ]
|
||||
then
|
||||
echo
|
||||
echo "But we were hoping that even more tests might have passed if"
|
||||
echo "someone had added support for them to the package. If you"
|
||||
echo "would like to help, please contact the package maintainer."
|
||||
fi
|
||||
echo "All OK!"
|
||||
|
||||
if present "$GSTESTSUM" "Dashed hope$" "Dashed hopes$"
|
||||
then
|
||||
echo
|
||||
echo "But we were hoping that even more tests might have passed if"
|
||||
echo "someone had added support for them to the package. If you"
|
||||
echo "would like to help, please contact the package maintainer."
|
||||
fi
|
||||
|
||||
if present "$GSTESTSUM" "Skipped set$" "Skipped sets$"
|
||||
then
|
||||
echo
|
||||
echo "Even though no tests failed, we had to skip some testing"
|
||||
echo "due to lack of support on your system. This might be because"
|
||||
echo "some required software library was just not available when the"
|
||||
echo "software was built (in which case you can install that library"
|
||||
echo "and rebuild, then re-run the tests), or the required functions"
|
||||
echo "may not be available on your operating system at all."
|
||||
echo "Please see $GSTESTLOG for more detail."
|
||||
echo "If you would like to contribute code to add the missing"
|
||||
echo "functionality, please contact the package maintainer."
|
||||
fi
|
||||
|
||||
else
|
||||
if [ "$GSTESTMODE" = "failfast" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if present "$GSTESTSUM" "Failed build$" "Failed build$"
|
||||
then
|
||||
echo
|
||||
echo "Unfortunately we could not even compile all the test programs."
|
||||
echo "This means that the test could not be run properly, and you need"
|
||||
echo "to try to figure out why and fix it or ask for help."
|
||||
fi
|
||||
|
||||
if present "$GSTESTSUM" "Failed file$" "Failed files$"
|
||||
then
|
||||
echo
|
||||
echo "Some testing was abandoned when a test program aborted. This is"
|
||||
echo "generally a severe problem and may mean that the package is"
|
||||
echo "completely unusable. You need to try to fix this and, if it is"
|
||||
echo "not due to some problem on your system, please help by submitting"
|
||||
echo "a patch (or at least a bug report) to the package maintainer."
|
||||
fi
|
||||
|
||||
if present "$GSTESTSUM" "Failed set$" "Failed sets$"
|
||||
then
|
||||
echo
|
||||
echo "Some set of tests failed. This could well mean that a large"
|
||||
echo "number of individual tests did not pass and that there are"
|
||||
echo "severe problems in the software."
|
||||
echo "Please submit a patch to fix the problem or send a bug report to"
|
||||
echo "the package maintainer."
|
||||
fi
|
||||
|
||||
if present "$GSTESTSUM" "Failed test$" "Failed tests$"
|
||||
then
|
||||
echo
|
||||
echo "One or more tests failed. None of them should have."
|
||||
echo "Please submit a patch to fix the problem or send a bug report to"
|
||||
echo "the package maintainer."
|
||||
fi
|
||||
|
||||
if present "$GSTESTSUM" "Skipped set$" "Skipped sets$"
|
||||
then
|
||||
echo
|
||||
echo "Even though no tests failed, we had to skip some testing"
|
||||
echo "due to lack of support on your system. This might be because"
|
||||
echo "some required software library was just not available when the"
|
||||
echo "software was built (in which case you can install that library"
|
||||
echo "and rebuild, then re-run the tests), or the required functions"
|
||||
echo "may not be available on your operating system at all."
|
||||
echo "Please see $GSTESTLOG for more detail."
|
||||
echo "If you would like to contribute code to add the missing"
|
||||
echo "functionality, please contact the package maintainer."
|
||||
fi
|
||||
|
||||
else
|
||||
if [ "$GSTESTMODE" = "failfast" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if present "$GSTESTSUM" "Failed build$" "Failed build$"
|
||||
then
|
||||
echo
|
||||
echo "Unfortunately we could not even compile all the test programs."
|
||||
echo "This means that the test could not be run properly, and you need"
|
||||
echo "to try to figure out why and fix it or ask for help."
|
||||
fi
|
||||
|
||||
if present "$GSTESTSUM" "Failed file$" "Failed files$"
|
||||
then
|
||||
echo
|
||||
echo "Some testing was abandoned when a test program aborted. This is"
|
||||
echo "generally a severe problem and may mean that the package is"
|
||||
echo "completely unusable. You need to try to fix this and, if it is"
|
||||
echo "not due to some problem on your system, please help by submitting"
|
||||
echo "a patch (or at least a bug report) to the package maintainer."
|
||||
fi
|
||||
|
||||
if present "$GSTESTSUM" "Failed set$" "Failed sets$"
|
||||
then
|
||||
echo
|
||||
echo "Some set of tests failed. This could well mean that a large"
|
||||
echo "number of individual tests did not pass and that there are"
|
||||
echo "severe problems in the software."
|
||||
echo "Please submit a patch to fix the problem or send a bug report to"
|
||||
echo "the package maintainer."
|
||||
fi
|
||||
|
||||
if present "$GSTESTSUM" "Failed test$" "Failed tests$"
|
||||
then
|
||||
echo
|
||||
echo "One or more tests failed. None of them should have."
|
||||
echo "Please submit a patch to fix the problem or send a bug report to"
|
||||
echo "the package maintainer."
|
||||
fi
|
||||
|
||||
echo "Please see $GSTESTLOG for more detail."
|
||||
fi
|
||||
|
||||
|
|
|
@ -772,10 +772,15 @@ FAILS=$?
|
|||
rm -f tests.tmp tests.sum.tmp tests.log.tmp
|
||||
|
||||
# Our exit status is 0 unless some test failed.
|
||||
present "$GSTESTSUM" "Failed set$" "Failed sets$" "Failed test$" "Failed tests$" "Failed build$" "Failed builds$" "Failed file$" "Failed files$"
|
||||
if [ $? = 1 ]
|
||||
if test -r "$GSTESTSUM"
|
||||
then
|
||||
exit 0
|
||||
present "$GSTESTSUM" "Failed set$" "Failed sets$" "Failed test$" "Failed tests$" "Failed build$" "Failed builds$" "Failed file$" "Failed files$"
|
||||
if [ $? = 1 ]
|
||||
then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
exit 1
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue