[test-suite] r181260 - Always enable hashed program output when using reference outputs
Hal Finkel
hfinkel at anl.gov
Mon May 6 15:42:09 PDT 2013
Author: hfinkel
Date: Mon May 6 17:42:09 2013
New Revision: 181260
URL: http://llvm.org/viewvc/llvm-project?rev=181260&view=rev
Log:
Always enable hashed program output when using reference outputs
Because several of the reference outputs require hashed output, running
with reference outputs but without hashed program output yields anomalous
failures.
Modified:
test-suite/trunk/Makefile.programs
Modified: test-suite/trunk/Makefile.programs
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=181260&r1=181259&r2=181260&view=diff
==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Mon May 6 17:42:09 2013
@@ -474,6 +474,12 @@ ifdef REQUIRES_EH_SUPPORT
JIT_OPTS += -enable-correct-eh-support
endif
+# Some of the reference outputs assume that ENABLE_HASHED_PROGRAM_OUTPUT
+# is defined. Make sure it is defined if USE_REFERENCE_OUTPUT is defined.
+ifdef USE_REFERENCE_OUTPUT
+ENABLE_HASHED_PROGRAM_OUTPUT := 1
+endif
+
# If the program wants its output hashed, add an output filter.
ifdef ENABLE_HASHED_PROGRAM_OUTPUT
ifdef HASH_PROGRAM_OUTPUT
More information about the llvm-commits
mailing list