[test-suite] r202383 - XCore target: skip tests xcore can't run

Robert Lytton robert at xmos.com
Thu Feb 27 04:45:08 PST 2014


Author: rlytton
Date: Thu Feb 27 06:45:08 2014
New Revision: 202383

URL: http://llvm.org/viewvc/llvm-project?rev=202383&view=rev
Log:
XCore target: skip tests xcore can't run

Modified:
    test-suite/trunk/MultiSource/Applications/Makefile
    test-suite/trunk/MultiSource/Benchmarks/Makefile
    test-suite/trunk/MultiSource/Benchmarks/MiBench/Makefile
    test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/Makefile
    test-suite/trunk/SingleSource/Benchmarks/Misc-C++/Large/Makefile
    test-suite/trunk/SingleSource/UnitTests/Makefile
    test-suite/trunk/SingleSource/UnitTests/Threads/Makefile

Modified: test-suite/trunk/MultiSource/Applications/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Applications/Makefile?rev=202383&r1=202382&r2=202383&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Applications/Makefile (original)
+++ test-suite/trunk/MultiSource/Applications/Makefile Thu Feb 27 06:45:08 2014
@@ -31,4 +31,12 @@ PARALLEL_DIRS := $(filter-out SPASS, $(P
 PARALLEL_DIRS := $(filter-out hexxagon, $(PARALLEL_DIRS))
 endif
 
+ifeq ($(ARCH),XCore)
+# xcore does not support many file & dir operations
+PARALLEL_DIRS := $(filter-out siod, $(PARALLEL_DIRS))
+PARALLEL_DIRS := $(filter-out ClamAV, $(PARALLEL_DIRS))
+PARALLEL_DIRS := $(filter-out sqlite3, $(PARALLEL_DIRS))
+PARALLEL_DIRS := $(filter-out obsequi, $(PARALLEL_DIRS))
+endif
+
 include $(LEVEL)/Makefile.programs

Modified: test-suite/trunk/MultiSource/Benchmarks/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Makefile?rev=202383&r1=202382&r2=202383&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Makefile Thu Feb 27 06:45:08 2014
@@ -27,4 +27,9 @@ PARALLEL_DIRS += \
 		mafft
 endif
 
+ifeq ($(ARCH),XCore)
+# XCore does not support pthreads
+PARALLEL_DIRS := $(filter-out 7zip, $(PARALLEL_DIRS))
+endif
+
 include $(LEVEL)/MultiSource/Makefile.multisrc

Modified: test-suite/trunk/MultiSource/Benchmarks/MiBench/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/MiBench/Makefile?rev=202383&r1=202382&r2=202383&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/MiBench/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/MiBench/Makefile Thu Feb 27 06:45:08 2014
@@ -29,4 +29,10 @@ ifeq ($(ARCH),ARM)
   PARALLEL_DIRS := $(filter-out office-ispell, $(PARALLEL_DIRS))
 endif
 
+ifeq ($(ARCH),XCore)
+  # xcore does not support sockets or sgtty
+  PARALLEL_DIRS := $(filter-out consumer-lame, $(PARALLEL_DIRS))
+  PARALLEL_DIRS := $(filter-out office-ispell, $(PARALLEL_DIRS))
+endif
+
 include $(LEVEL)/Makefile.programs

Modified: test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/Makefile?rev=202383&r1=202382&r2=202383&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/Makefile Thu Feb 27 06:45:08 2014
@@ -16,5 +16,10 @@ ifeq ($(ARCH), Alpha)
 PARALLEL_DIRS := $(filter-out bison, $(PARALLEL_DIRS))
 endif
 
+ifeq ($(ARCH),XCore)
+# xcore does not support sockets or forking (popen)
+PARALLEL_DIRS := $(filter-out archie-client, $(PARALLEL_DIRS))
+PARALLEL_DIRS := $(filter-out unix-smail, $(PARALLEL_DIRS))
+endif
 
 include $(LEVEL)/Makefile.programs

Modified: test-suite/trunk/SingleSource/Benchmarks/Misc-C++/Large/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Misc-C%2B%2B/Large/Makefile?rev=202383&r1=202382&r2=202383&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Misc-C++/Large/Makefile (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Misc-C++/Large/Makefile Thu Feb 27 06:45:08 2014
@@ -4,4 +4,9 @@ LIBS = -lstdc++
 FP_ABSTOLERANCE := 0.01
 HASH_PROGRAM_OUTPUT := 1
 
+ifeq ($(ARCH),XCore)
+# XCore diffs output on 3 of the 65536 numbers
+PROGRAMS_TO_SKIP := sphereflake
+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=202383&r1=202382&r2=202383&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Makefile (original)
+++ test-suite/trunk/SingleSource/UnitTests/Makefile Thu Feb 27 06:45:08 2014
@@ -38,5 +38,12 @@ ifeq ($(ARCH),Mips)
 DIRS += Mips
 endif
 
+ifeq ($(ARCH),XCore)
+# XCore does not support atomic read/write
+PROGRAMS_TO_SKIP += AtomicOps
+# XCore does not support init_priority attribute
+PROGRAMS_TO_SKIP += initp1
+endif
+
 LDFLAGS += -lstdc++
 include $(LEVEL)/SingleSource/Makefile.singlesrc

Modified: test-suite/trunk/SingleSource/UnitTests/Threads/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Threads/Makefile?rev=202383&r1=202382&r2=202383&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Threads/Makefile (original)
+++ test-suite/trunk/SingleSource/UnitTests/Threads/Makefile Thu Feb 27 06:45:08 2014
@@ -2,7 +2,13 @@
 LEVEL = ../../..
 
 include $(LEVEL)/Makefile.config
+
+# xcore does not support pthreads
+ifneq ($(ARCH),XCore)
 LDFLAGS += -lpthread
+else
+PROGRAMS_TO_SKIP := tls
+endif
 
 # Darwin doesn't support tls.
 ifeq ($(TARGET_OS),Darwin)





More information about the llvm-commits mailing list