[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[committed] Require implptr-64bit-d2o4a8r8t0 for pr24170.sh



Hi,

Add missing require of implptr-64bit-d2o4a8r8t0 for pr24170.sh.

This fixes buildbot failures on dwz-debian-armhf and dwz-debian-i386.

Committed to trunk.

Thanks,
- Tom

Require implptr-64bit-d2o4a8r8t0 for pr24170.sh

2019-06-25  Tom de Vries  <tdevries@suse.de>

	* Makefile (implptr-64bit-d2o4a8r8t0): Add '|| touch $@'.
	* testsuite/dwz.tests/dwz-tests.exp: Require implptr-64bit-d2o4a8r8t0
	for pr24170.sh.

---
 Makefile                          | 3 ++-
 testsuite/dwz.tests/dwz-tests.exp | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 45ca3d2..2d9ba4e 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,8 @@ start:
 	$(CC) $(TEST_SRC)/start.c -o $@ -g -nostdlib
 
 implptr-64bit-d2o4a8r8t0:
-	$(CC) $(TEST_SRC)/implptr-64bit-d2o4a8r8t0.S $(TEST_SRC)/main.c -o $@ -g
+	$(CC) $(TEST_SRC)/implptr-64bit-d2o4a8r8t0.S $(TEST_SRC)/main.c -o $@ \
+	  -g || touch $@
 
 # On some systems we need to set and export DEJAGNU to suppress
 # WARNING: Couldn't find the global config file.
diff --git a/testsuite/dwz.tests/dwz-tests.exp b/testsuite/dwz.tests/dwz-tests.exp
index fbc94ac..c1f913a 100644
--- a/testsuite/dwz.tests/dwz-tests.exp
+++ b/testsuite/dwz.tests/dwz-tests.exp
@@ -39,6 +39,9 @@ foreach test $tests {
     if { $basename == "pr24172.sh" } {
 	lappend required_execs "dw2-skip-prologue"
     }
+    if { $basename == "pr24170.sh" } {
+	lappend required_execs "implptr-64bit-d2o4a8r8t0"
+    }
     if { ![istarget x86_64-*-*] } {
 	if { $basename == "pr24468.sh" } {
 	    unsupported "$test"