summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2012-02-28 15:16:09 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-28 07:29:00 +0100
commit8f872ee0e815b27ac6fc13345bb3c80b7e71d083 (patch)
treefee867027cc9527aa8ef5c1fce4fcd17e2878754
parent53338de52b9e654e667df38ca47acc4984b2de2a (diff)
configure: fixed stray output from endian.test when not verbose
The output of building and running config.tests are generally silent unless -verbose is passed to configure. However, there was one place in endian.test where a check for $VERBOSE was missed, leading to confusing output like: Creating qmake. Please wait... rm -f endiantest.o rm -f *~ core *.core rm -f endiantest rm -f Makefile rm -f endiantest.o rm -f *~ core *.core rm -f endiantest rm -f Makefile Change-Id: Idabe85f2b188ed9da713392d116d4d2853be2189 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
-rwxr-xr-xconfig.tests/unix/endian.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.tests/unix/endian.test b/config.tests/unix/endian.test
index 6c5c311888..a662011a27 100755
--- a/config.tests/unix/endian.test
+++ b/config.tests/unix/endian.test
@@ -41,7 +41,11 @@ elif strings - $binary | grep MostSignificantByteFirst >/dev/null 2>&1; then
fi
# make clean as this tests is compiled for both the host and the target
-$MAKE distclean
+if [ "$VERBOSE" = "yes" ]; then
+ $MAKE distclean
+else
+ $MAKE distclean >/dev/null 2>&1
+fi
# done
if [ "$ENDIAN" = "LITTLE" ]; then