[llvm-commits] [test-suite] r138650 - in /test-suite/trunk/MultiSource: Applications/siod/Makefile Benchmarks/MiBench/consumer-lame/Makefile

Duncan Sands baldrick at free.fr
Fri Aug 26 13:37:10 PDT 2011


Author: baldrick
Date: Fri Aug 26 15:37:10 2011
New Revision: 138650

URL: http://llvm.org/viewvc/llvm-project?rev=138650&view=rev
Log:
The siod and consumer-lame tests appear to fail when using dragonegg,
because their output does not match the output when they are built
with gcc.  But in fact it is gcc that is miscompiling these tests,
so force comparison with the reference output to avoid these false
negatives.

Modified:
    test-suite/trunk/MultiSource/Applications/siod/Makefile
    test-suite/trunk/MultiSource/Benchmarks/MiBench/consumer-lame/Makefile

Modified: test-suite/trunk/MultiSource/Applications/siod/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Applications/siod/Makefile?rev=138650&r1=138649&r2=138650&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Applications/siod/Makefile (original)
+++ test-suite/trunk/MultiSource/Applications/siod/Makefile Fri Aug 26 15:37:10 2011
@@ -5,5 +5,11 @@
 
 RUN_OPTIONS = -v1 $(PROJ_SRC_DIR)/test.scm
 
+# Define USE_REFERENCE_OUTPUT which is a signal to Makefile.programs that the
+# natively compiled program should not be run but that its output should be
+# "faked" by copying the reference output. This is because gcc-4.6 miscompiles
+# siod, resulting in a program that fails to parse the Fibonacci test.
+USE_REFERENCE_OUTPUT := 1
+
 include ../../Makefile.multisrc
 

Modified: test-suite/trunk/MultiSource/Benchmarks/MiBench/consumer-lame/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/MiBench/consumer-lame/Makefile?rev=138650&r1=138649&r2=138650&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/MiBench/consumer-lame/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/MiBench/consumer-lame/Makefile Fri Aug 26 15:37:10 2011
@@ -4,4 +4,11 @@
 CPPFLAGS = -DHAVEMPGLIB -DLAMEPARSE -DNDEBUG -D__NO_MATH_INLINES -O -DLAMESNDFILE
 LDFLAGS  = -lm
 RUN_OPTIONS = -S $(PROJ_SRC_DIR)/large.wav Output/output_large.mp3
+
+# Define USE_REFERENCE_OUTPUT which is a signal to Makefile.programs that the
+# natively compiled program should not be run but that its output should be
+# "faked" by copying the reference output. This is because gcc-4.6 miscompiles
+# consumer-lame, resulting in a program that just dies horribly dumping core.
+USE_REFERENCE_OUTPUT := 1
+
 include $(LEVEL)/MultiSource/Makefile.multisrc





More information about the llvm-commits mailing list