[llvm-commits] [test-suite] r97007 - in /test-suite/trunk/SingleSource: Benchmarks/Misc/Makefile UnitTests/Makefile

Dale Johannesen dalej at apple.com
Tue Feb 23 17:22:54 PST 2010


Author: johannes
Date: Tue Feb 23 19:22:54 2010
New Revision: 97007

URL: http://llvm.org/viewvc/llvm-project?rev=97007&view=rev
Log:
Disable some tests on PPC Darwin that are never going to work.

Modified:
    test-suite/trunk/SingleSource/Benchmarks/Misc/Makefile
    test-suite/trunk/SingleSource/UnitTests/Makefile

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc/Makefile?rev=97007&r1=97006&r2=97007&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc/Makefile (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc/Makefile Tue Feb 23 19:22:54 2010
@@ -2,4 +2,13 @@
 LDFLAGS += -lm 
 FP_TOLERANCE := 0.001
 
+include $(LEVEL)/Makefile.config
+
+# dt uses posix_memalign, which doesn't exist on PPC darwin.
+ifeq ($(ARCH),PowerPC)
+ifeq ($(TARGET_OS),Darwin)
+PROGRAMS_TO_SKIP := dt
+endif
+endif
+
 include $(LEVEL)/SingleSource/Makefile.singlesrc

Modified: test-suite/trunk/SingleSource/UnitTests/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Makefile?rev=97007&r1=97006&r2=97007&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Makefile (original)
+++ test-suite/trunk/SingleSource/UnitTests/Makefile Tue Feb 23 19:22:54 2010
@@ -25,6 +25,11 @@
 # framework.
 ifeq ($(TARGET_OS),Darwin)
 PROGRAMS_TO_SKIP := 2007-04-25-weak
+# The gcc on Darwin PPC doesn't support atomic ops, so we can't test them in this
+# framework (even though they work OK in llvm).
+ifeq ($(ARCH),PowerPC)
+PROGRAMS_TO_SKIP += AtomicOps
+endif
 endif
 
 PROGRAM_REQUIRED_TO_EXIT_OK := 1





More information about the llvm-commits mailing list