about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2018-02-24 01:15:48 +0100
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2018-02-24 01:18:33 +0100
commite3781c65852f7624fd58b723b66be7470cb41ea0 (patch)
treef9b94da54a555f69471f11e7fa4b4554e22c9d41
parent063deba92e44809125a433ca6e6c1ad0993313bf (diff)
downloadrust-e3781c65852f7624fd58b723b66be7470cb41ea0.tar.gz
rust-e3781c65852f7624fd58b723b66be7470cb41ea0.zip
test: Fix s390x-unknown-linux-gnu atomic-lock-free test not run for systemz
-rw-r--r--src/test/run-make/atomic-lock-free/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run-make/atomic-lock-free/Makefile b/src/test/run-make/atomic-lock-free/Makefile
index 4849b030742..63b8608afc7 100644
--- a/src/test/run-make/atomic-lock-free/Makefile
+++ b/src/test/run-make/atomic-lock-free/Makefile
@@ -36,6 +36,8 @@ ifeq ($(filter powerpc,$(LLVM_COMPONENTS)),powerpc)
 	nm "$(TMPDIR)/libatomic_lock_free.rlib" | $(CGREP) -v __atomic_fetch_add
 	$(RUSTC) --target=powerpc64le-unknown-linux-gnu atomic_lock_free.rs
 	nm "$(TMPDIR)/libatomic_lock_free.rlib" | $(CGREP) -v __atomic_fetch_add
+endif
+ifeq ($(filter systemz,$(LLVM_COMPONENTS)),systemz)
 	$(RUSTC) --target=s390x-unknown-linux-gnu atomic_lock_free.rs
 	nm "$(TMPDIR)/libatomic_lock_free.rlib" | $(CGREP) -v __atomic_fetch_add
 endif