[llvm-commits] CVS: llvm-test/External/SPEC/Makefile.spec
Evan Cheng
evan.cheng at apple.com
Tue Nov 28 16:31:04 PST 2006
Changes in directory llvm-test/External/SPEC:
Makefile.spec updated: 1.56 -> 1.57
---
Log message:
Need -append-exit-code to match RunSafely.sh changes.
---
Diffs of the changes: (+6 -0)
Makefile.spec | 6 ++++++
1 files changed, 6 insertions(+)
Index: llvm-test/External/SPEC/Makefile.spec
diff -u llvm-test/External/SPEC/Makefile.spec:1.56 llvm-test/External/SPEC/Makefile.spec:1.57
--- llvm-test/External/SPEC/Makefile.spec:1.56 Fri Sep 1 19:04:00 2006
+++ llvm-test/External/SPEC/Makefile.spec Tue Nov 28 18:30:49 2006
@@ -127,6 +127,12 @@
-(cd Output/cbe-$(RUN_TYPE); cat $(LOCAL_OUTPUTS)) > $@
-cp Output/cbe-$(RUN_TYPE)/$(STDOUT_FILENAME).time $@.time
+# The RunSafely.sh script puts an "exit <retval>" line at the end of
+# the program's output. We have to make bugpoint do the same thing
+# or else it will get false positives when it diff's the reference
+# output with the program's output.
+BUGPOINT_OPTIONS += -append-exit-code
+
# If a tolerance is set, pass it off to bugpoint
ifdef FP_TOLERANCE
BUGPOINT_OPTIONS += -rel-tolerance $(FP_TOLERANCE)
More information about the llvm-commits
mailing list