[llvm-commits] [test-suite] r108394 - in /test-suite/trunk/External/SPEC: CINT2000/Makefile CINT95/Makefile

Daniel Dunbar daniel at zuster.org
Wed Jul 14 18:42:44 PDT 2010


Author: ddunbar
Date: Wed Jul 14 20:42:44 2010
New Revision: 108394

URL: http://llvm.org/viewvc/llvm-project?rev=108394&view=rev
Log:
Add a CC_UNDER_TEST_IS_CLANG make variable (not set automatically), which
disables certain non-standard tests (126.gcc and 176.gcc).

Modified:
    test-suite/trunk/External/SPEC/CINT2000/Makefile
    test-suite/trunk/External/SPEC/CINT95/Makefile

Modified: test-suite/trunk/External/SPEC/CINT2000/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2000/Makefile?rev=108394&r1=108393&r2=108394&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2000/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2000/Makefile Wed Jul 14 20:42:44 2010
@@ -13,6 +13,11 @@
 	256.bzip2 \
 	300.twolf
 
+# Disable 176.gcc when testing with Clang, which doesn't support lvalue casts.
+ifdef CC_UNDER_TEST_IS_CLANG
+PARALLEL_DIRS := $(filter-out 176.gcc, $(PARALLEL_DIRS))
+endif
+
 # Get the $(ARCH) setting
 include $(LEVEL)/Makefile.config
 

Modified: test-suite/trunk/External/SPEC/CINT95/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT95/Makefile?rev=108394&r1=108393&r2=108394&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT95/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT95/Makefile Wed Jul 14 20:42:44 2010
@@ -9,6 +9,11 @@
   134.perl \
   147.vortex
 
+# Disable 126.gcc when testing with Clang, which doesn't support lvalue casts.
+ifdef CC_UNDER_TEST_IS_CLANG
+PARALLEL_DIRS := $(filter-out 126.gcc, $(PARALLEL_DIRS))
+endif
+
 # Get the $(ARCH) setting
 include $(LEVEL)/Makefile.config
 





More information about the llvm-commits mailing list