[llvm-commits] [test-suite] r93813 - /test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/Makefile

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Jan 18 15:48:38 PST 2010


Author: stoklund
Date: Mon Jan 18 17:48:37 2010
New Revision: 93813

URL: http://llvm.org/viewvc/llvm-project?rev=93813&view=rev
Log:
Add smaller test case for 483.xalancbmk

Modified:
    test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/Makefile

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=93813&r1=93812&r2=93813&view=diff

==============================================================================
--- test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2006/483.xalancbmk/Makefile Mon Jan 18 17:48:37 2010
@@ -32,8 +32,19 @@
 
 include ../../Makefile.spec2006
 
+ifdef SMALL_PROBLEM_SIZE
+Output/483.xalancbmk.out-nat Output/483.xalancbmk.out-llc Output/483.xalancbmk.out-llc-beta: Output/small-test.xml
+
+Output/small-test.xml: $(SPEC_BENCH_DIR)/data/test/input/test.xml
+	$(VERB) sed -E -e 's/([a-z]+ ){5}//g' $< > $@
+endif
+
 ifeq ($(RUN_TYPE),test)
+ifdef SMALL_PROBLEM_SIZE
+  RUN_OPTIONS      = -v ../small-test.xml xalanc.xsl
+else
   RUN_OPTIONS      = -v test.xml xalanc.xsl
+endif
   STDOUT_FILENAME := test.out
 else
   RUN_OPTIONS      = -v allbooks.xml xalanc.xsl





More information about the llvm-commits mailing list