[llvm-commits] [test-suite] r79329 - in /test-suite/trunk: ./ External/SPEC/CINT2000/186.crafty/ External/SPEC/CINT2000/197.parser/ External/SPEC/CINT2000/253.perlbmk/ External/SPEC/CINT2000/254.gap/ External/SPEC/CINT2006/400.perlbench/ External/SPEC/CINT2006/403.gcc/ External/SPEC/CINT2006/462.libquantum/ External/SPEC/CINT2006/483.xalancbmk/ MultiSource/Applications/ MultiSource/Applications/ClamAV/ MultiSource/Applications/minisat/ MultiSource/Benchmarks/Prolangs-C/archie-client/ SingleSource/ SingleSource/UnitTest...
Anton Korobeynikov
asl at math.spbu.ru
Tue Aug 18 03:09:37 PDT 2009
Author: asl
Date: Tue Aug 18 05:09:35 2009
New Revision: 79329
URL: http://llvm.org/viewvc/llvm-project?rev=79329&view=rev
Log:
Propagate recent cross-compile fixes to testsuite.
Patch by Sandeep Patel!
Modified:
test-suite/trunk/External/SPEC/CINT2000/186.crafty/Makefile
test-suite/trunk/External/SPEC/CINT2000/197.parser/Makefile
test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile
test-suite/trunk/External/SPEC/CINT2000/254.gap/Makefile
test-suite/trunk/External/SPEC/CINT2006/400.perlbench/Makefile
test-suite/trunk/External/SPEC/CINT2006/403.gcc/Makefile
test-suite/trunk/External/SPEC/CINT2006/462.libquantum/Makefile
test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/Makefile
test-suite/trunk/Makefile.rules
test-suite/trunk/MultiSource/Applications/ClamAV/Makefile
test-suite/trunk/MultiSource/Applications/Makefile
test-suite/trunk/MultiSource/Applications/minisat/Makefile
test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/archie-client/Makefile
test-suite/trunk/SingleSource/Makefile
test-suite/trunk/SingleSource/UnitTests/Makefile
test-suite/trunk/SingleSource/UnitTests/Threads/Makefile
test-suite/trunk/SingleSource/UnitTests/Vector/build.c
Modified: test-suite/trunk/External/SPEC/CINT2000/186.crafty/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2000/186.crafty/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2000/186.crafty/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2000/186.crafty/Makefile Tue Aug 18 05:09:35 2009
@@ -31,10 +31,10 @@
ifeq ($(TARGET_ARCH),ARM)
CPPFLAGS += -DHAS_LONGLONG
endif
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
CPPFLAGS += -DUNIX -DLINUX
endif
-ifeq ($(OS),Linux)
+ifeq ($(TARGET_OS),Linux)
CPPFLAGS += -DUNIX -DLINUX
endif
ifeq ($(ENDIAN),little)
Modified: test-suite/trunk/External/SPEC/CINT2000/197.parser/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2000/197.parser/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2000/197.parser/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2000/197.parser/Makefile Tue Aug 18 05:09:35 2009
@@ -6,7 +6,7 @@
include $(LEVEL)/Makefile.config
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
CPPFLAGS += -D_ANSI_SOURCE=1
endif
Modified: test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile Tue Aug 18 05:09:35 2009
@@ -34,7 +34,7 @@
NT_SOURCES = nt_perlmain.c win32.c win32sck.c win32threads.c perllib.c
UNIX_SOURCES = unix_perlmain.c
-ifeq ($(strip $(OS)),Win32)
+ifeq ($(strip $(TARGET_OS)),Win32)
CPPFLAGS += -Iwin32 -I. -DWIN32 -D_CONSOLE
LIBS += advapi32.lib wsock32.lib
DO_NOT_COMPILE := $(UNIX_SOURCES)
@@ -48,7 +48,7 @@
SPEC2K_DO_NOT_RECONFIGURE := 1
include $(LEVEL)/External/SPEC/Makefile.spec2000
-ifeq ($(strip $(OS)),Linux)
+ifeq ($(strip $(TARGET_OS)),Linux)
CPPFLAGS := $(filter-out -DSPEC_CPU2000,$(CPPFLAGS))
ifeq ($(ARCH),Alpha)
CPPFLAGS += -DSPEC_CPU2000_LINUX_ALPHA
Modified: test-suite/trunk/External/SPEC/CINT2000/254.gap/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2000/254.gap/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2000/254.gap/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2000/254.gap/Makefile Tue Aug 18 05:09:35 2009
@@ -11,7 +11,7 @@
CPPFLAGS+= -DSPEC_CPU2000_LP64
endif
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
CPPFLAGS += -DSYS_IS_BSD
else
CPPFLAGS += -DSYS_IS_USG
Modified: test-suite/trunk/External/SPEC/CINT2006/400.perlbench/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2006/400.perlbench/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2006/400.perlbench/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2006/400.perlbench/Makefile Tue Aug 18 05:09:35 2009
@@ -19,7 +19,7 @@
CPPFLAGS += -DPERL_CORE -DI_TIME
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
ifeq ($(ARCH),PowerPC)
CPPFLAGS += -DSPEC_CPU_MACOSX_PPC
endif
Modified: test-suite/trunk/External/SPEC/CINT2006/403.gcc/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2006/403.gcc/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2006/403.gcc/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2006/403.gcc/Makefile Tue Aug 18 05:09:35 2009
@@ -10,7 +10,7 @@
CPPFLAGS += -DINLINE=__inline__
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
CPPFLAGS += -DSPEC_CPU_MACOSX
endif
Modified: test-suite/trunk/External/SPEC/CINT2006/462.libquantum/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2006/462.libquantum/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2006/462.libquantum/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2006/462.libquantum/Makefile Tue Aug 18 05:09:35 2009
@@ -15,11 +15,11 @@
include ../../Makefile.spec2006
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
CPPFLAGS += -DSPEC_CPU_MACOSX
endif
-ifeq ($(OS),Linux)
+ifeq ($(TARGET_OS),Linux)
CPPFLAGS += -DSPEC_CPU_LINUX
endif
Modified: test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/Makefile Tue Aug 18 05:09:35 2009
@@ -20,10 +20,10 @@
-I$(SPEC_BENCH_DIR)/src/xercesc/util/Transcoders/Iconv \
-I$(SPEC_BENCH_DIR)/src/xalanc/include
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
CPPFLAGS += -DSPEC_CPU_MACOSX
endif
-ifeq ($(OS),Linux)
+ifeq ($(TARGET_OS),Linux)
CPPFLAGS += -DSPEC_CPU_LINUX
endif
Modified: test-suite/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.rules?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/Makefile.rules (original)
+++ test-suite/trunk/Makefile.rules Tue Aug 18 05:09:35 2009
@@ -365,7 +365,7 @@
TARGET_LLIFLAGS += -relocation-model=pic -disable-fp-elim
else
TARGET_FLAGS += -fomit-frame-pointer
- ifeq ($(OS),Darwin)
+ ifeq ($(TARGET_OS),Darwin)
TARGET_FLAGS += -mdynamic-no-pic
endif
endif
Modified: test-suite/trunk/MultiSource/Applications/ClamAV/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Applications/ClamAV/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Applications/ClamAV/Makefile (original)
+++ test-suite/trunk/MultiSource/Applications/ClamAV/Makefile Tue Aug 18 05:09:35 2009
@@ -37,40 +37,40 @@
# -- OS macros --
# It is especially important to get this correctly defined for windows.
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
CPPFLAGS += -DC_DARWIN
endif
-ifeq ($(OS),AIX)
+ifeq ($(TARGET_OS),AIX)
CPPFLAGS += -DC_AIX
endif
-ifeq ($(OS), IRIX)
+ifeq ($(TARGET_OS), IRIX)
CPPFLAGS += -DC_IRIX
endif
-ifeq ($(OS), Cygwin)
+ifeq ($(TARGET_OS), Cygwin)
CPPFLAGS += -DC_CYGWIN
endif
-ifeq ($(OS), FreeBSD)
+ifeq ($(TARGET_OS), FreeBSD)
CPPFLAGS += -DC_BSD
endif
-ifeq ($(OS), OpenBSD)
+ifeq ($(TARGET_OS), OpenBSD)
CPPFLAGS += -DC_BSD
endif
-ifeq ($(OS), NetBSD)
+ifeq ($(TARGET_OS), NetBSD)
CPPFLAGS += -DC_BSD
endif
-ifeq ($(OS), HP-UX)
+ifeq ($(TARGET_OS), HP-UX)
CPPFLAGS += -DC_HPUX
endif
-ifeq ($(OS), Interix)
+ifeq ($(TARGET_OS), Interix)
CPPFLAGS += -DC_INTERIX -DC_WINDOWS
endif
-ifeq ($(OS), Win32)
+ifeq ($(TARGET_OS), Win32)
CPPFLAGS += -DC_WINDOWS
endif
-ifeq ($(OS), mingw)
+ifeq ($(TARGET_OS), mingw)
CPPFLAGS += -DC_WINDOWS
endif
-ifeq ($(OS), Linux)
+ifeq ($(TARGET_OS), Linux)
CPPFLAGS += -DC_LINUX
endif
@@ -104,10 +104,10 @@
#compare debug output
DIFFPROG := $(PROGDIR)/DiffOutput.sh "diff "
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
EXTRA_LLIFLAGS += -load=libz.dylib
else
-ifeq ($(OS),Linux)
+ifeq ($(TARGET_OS),Linux)
EXTRA_LLIFLAGS += -load=libz.so.1
else
EXTRA_LLIFLAGS += -load=libz
Modified: test-suite/trunk/MultiSource/Applications/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Applications/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Applications/Makefile (original)
+++ test-suite/trunk/MultiSource/Applications/Makefile Tue Aug 18 05:09:35 2009
@@ -12,16 +12,16 @@
endif
# Obsequi uses Linux-only features; need to fix that
-ifeq ($(OS),Linux)
+ifeq ($(TARGET_OS),Linux)
PARALLEL_DIRS += obsequi
endif
# kimwitu++ uses multi-byte chars, not available on sparc/solaris
-ifneq ($(OS),SunOS)
+ifneq ($(TARGET_OS),SunOS)
PARALLEL_DIRS += kimwitu++
endif
-ifeq ($(OS),SunOS)
+ifeq ($(TARGET_OS),SunOS)
PARALLEL_DIRS := $(filter-out SPASS, $(PARALLEL_DIRS))
PARALLEL_DIRS := $(filter-out hexxagon, $(PARALLEL_DIRS))
endif
Modified: test-suite/trunk/MultiSource/Applications/minisat/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Applications/minisat/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Applications/minisat/Makefile (original)
+++ test-suite/trunk/MultiSource/Applications/minisat/Makefile Tue Aug 18 05:09:35 2009
@@ -17,7 +17,7 @@
include ../../Makefile.multisrc
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
SHLIBEXT := .dylib
endif
Modified: test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/archie-client/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/archie-client/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/archie-client/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/archie-client/Makefile Tue Aug 18 05:09:35 2009
@@ -9,6 +9,6 @@
include $(LEVEL)/MultiSource/Makefile.multisrc
-ifeq ($(OS),SunOS)
+ifeq ($(TARGET_OS),SunOS)
LDFLAGS += -lsocket -lnsl
endif
Modified: test-suite/trunk/SingleSource/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Makefile (original)
+++ test-suite/trunk/SingleSource/Makefile Tue Aug 18 05:09:35 2009
@@ -1,6 +1,6 @@
LEVEL = ..
-PARALLEL_DIRS = UnitTests Regression Benchmarks
+PARALLEL_DIRS = UnitTests Regression Benchmarks CustomChecked
LDFLAGS += -lm
Modified: test-suite/trunk/SingleSource/UnitTests/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Makefile (original)
+++ test-suite/trunk/SingleSource/UnitTests/Makefile Tue Aug 18 05:09:35 2009
@@ -16,7 +16,7 @@
DIRS += SignlessTypes Threads
# Only test Obj-C on darwin/x86 for time being.
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
ifeq ($(ARCH),x86)
DIRS += ObjC ObjC++
endif
@@ -27,7 +27,7 @@
# Darwin doesn't support weak/weak_import in a way that we can test in this
# framework.
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
PROGRAMS_TO_SKIP := 2007-04-25-weak
endif
Modified: test-suite/trunk/SingleSource/UnitTests/Threads/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Threads/Makefile?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Threads/Makefile (original)
+++ test-suite/trunk/SingleSource/UnitTests/Threads/Makefile Tue Aug 18 05:09:35 2009
@@ -5,7 +5,7 @@
LDFLAGS += -lpthread
# Darwin doesn't support tls.
-ifeq ($(OS),Darwin)
+ifeq ($(TARGET_OS),Darwin)
PROGRAMS_TO_SKIP := tls
endif
Modified: test-suite/trunk/SingleSource/UnitTests/Vector/build.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/UnitTests/Vector/build.c?rev=79329&r1=79328&r2=79329&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/UnitTests/Vector/build.c (original)
+++ test-suite/trunk/SingleSource/UnitTests/Vector/build.c Tue Aug 18 05:09:35 2009
@@ -5,9 +5,11 @@
if (argc == 1123) X = 2.38213;
FV A;
A.V = (v4sf){ X, X, X, X }; // splat
+ printFV(&A);
A.V = A.V * A.V;
printFV(&A);
A.V = (v4sf){ X, X, 0, 0 };
+ printFV(&A);
A.V = A.V+A.V;
printFV(&A);
return 0;
More information about the llvm-commits
mailing list