]> git.lizzy.rs Git - rust.git/commitdiff
update run-pass test
authorJorge Aparicio <jorge@japaric.io>
Fri, 6 Jul 2018 01:18:19 +0000 (20:18 -0500)
committerJorge Aparicio <jorge@japaric.io>
Fri, 6 Jul 2018 01:18:19 +0000 (20:18 -0500)
src/test/run-make-fulldeps/target-without-atomic-cas/Makefile [new file with mode: 0644]
src/test/run-make-fulldeps/target-without-atomics/Makefile [deleted file]

diff --git a/src/test/run-make-fulldeps/target-without-atomic-cas/Makefile b/src/test/run-make-fulldeps/target-without-atomic-cas/Makefile
new file mode 100644 (file)
index 0000000..c2eb4ca
--- /dev/null
@@ -0,0 +1,5 @@
+-include ../tools.mk
+
+# The target used below doesn't support atomic CAS operations. Verify that's the case
+all:
+       $(RUSTC) --print cfg --target thumbv6m-none-eabi | $(CGREP) -v 'target_has_atomic="cas"'
diff --git a/src/test/run-make-fulldeps/target-without-atomics/Makefile b/src/test/run-make-fulldeps/target-without-atomics/Makefile
deleted file mode 100644 (file)
index c5f575d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
--include ../tools.mk
-
-# The target used below doesn't support atomic operations. Verify that's the case
-all:
-       $(RUSTC) --print cfg --target thumbv6m-none-eabi | $(CGREP) -v target_has_atomic