aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rwxr-xr-xtestsuite/order.sh6
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8acac09..420f69b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
2018-10-12 Mark Hatle <mark.hatle@windriver.com>
+ * testsuite/order.sh: Explain failure in log
+
+2018-10-12 Mark Hatle <mark.hatle@windriver.com>
* testsuite/reloc12.sh: Detect if compiler/linker support test
2018-10-12 Robert Yang <liezhi.yang@windriver.com>
diff --git a/testsuite/order.sh b/testsuite/order.sh
index a9c79ff..48cd8e5 100755
--- a/testsuite/order.sh
+++ b/testsuite/order.sh
@@ -22,7 +22,11 @@ echo $PRELINK ${PRELINK_OPTS--vm} ./order >> order.log
$RUN_HOST $PRELINK ${PRELINK_OPTS--vm} ./order >> order.log 2>&1 || exit 2
grep -q ^`echo $PRELINK | sed 's/ .*$/: /'` order.log && exit 3
if [ "x$CROSS" = "x" ]; then
- $RUN LD_LIBRARY_PATH=. ./order >> order.log || exit 4
+ $RUN LD_LIBRARY_PATH=. ./order >> order.log
+ if [ $? -ne 0 ]; then
+ echo "ERROR: Dynamic linker is resolving depth first, not breadth first"
+ exit 4
+ fi
fi
# So that it is not prelinked again
chmod -x ./order