[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/merge-cedet-tests d3a0e00 219/316: Erorr when appr
From: |
Edward John Steere |
Subject: |
[Emacs-diffs] scratch/merge-cedet-tests d3a0e00 219/316: Erorr when appropriate |
Date: |
Fri, 27 Jan 2017 20:03:41 +0000 (UTC) |
branch: scratch/merge-cedet-tests
commit d3a0e00b9f494dd3d29351ba753c59aa67330803
Author: Eric Ludlam <address@hidden>
Commit: Edward John Steere <address@hidden>
Erorr when appropriate
* test/manual/cedet/cedet-uutil.el: (cedet-utest-log-shutdown): This
should error when there are errors. (cedet-utest-log): Doc fix.
---
test/manual/cedet/cedet-uutil.el | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/test/manual/cedet/cedet-uutil.el b/test/manual/cedet/cedet-uutil.el
index eca795e..2666c2d 100644
--- a/test/manual/cedet/cedet-uutil.el
+++ b/test/manual/cedet/cedet-uutil.el
@@ -1,6 +1,6 @@
;;; cedet-uutil.el --- Unit test utilities for the CEDET suite.
;;
-;; Copyright (C) 2011 Eric M. Ludlam
+;; Copyright (C) 2011, 2014 Eric M. Ludlam
;;
;; Author: Eric M. Ludlam <address@hidden>
;;
@@ -100,6 +100,11 @@ ERRORCONDITION is some error that may have occured durinig
testing."
)
(cedet-utest-log-shutdown-msg title cedet-utest-log-timer endtime)
(setq cedet-utest-log-timer nil)
+
+ ;; If this isn't working in batch mode for testing, perhaps
+ ;; we can use an output message, and collect errors to the
+ ;; very end?
+ (when errorcondition (error errorcondition))
))
(defun cedet-utest-log-shutdown-msg (title startime endtime)
@@ -214,7 +219,8 @@ Optional argument PRECR indicates to prefix the done msg w/
a newline."
(defun cedet-utest-log(format &rest args)
"Log the text string FORMAT.
-The rest of the ARGS are used to fill in FORMAT with `format'."
+The rest of the ARGS are used to fill in FORMAT with `format'.
+Makes sure the log entry is on its own line, and ends in a CR."
(if (cedet-utest-noninteractive)
(apply 'message format args)
(save-excursion
- [Emacs-diffs] scratch/merge-cedet-tests a78c71f 255/316: Fix documentation, (continued)
- [Emacs-diffs] scratch/merge-cedet-tests a78c71f 255/316: Fix documentation, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests e4db2c3 187/316: Disable auto add, do shared-library-only test, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 31d40a7 257/316: Fix EIEIO methodinvoke-utest and semantic-fmt-utest., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 4730d02 197/316: Refactor tests, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 02f847a 288/316: New tests., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests e78d9b8 201/316: Fix merge error in unit tests., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests e7118b0 221/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 4bf5287 199/316: Fix interactive unit tests., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests c40401d 273/316: Remove obsolete cvs-auto-updated 'X-RCS' line., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 8cb6670 304/316: Fake ver_linux for project detection purposes., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests d3a0e00 219/316: Erorr when appropriate,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests c86be27 133/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 02c7dbb 310/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests cebc72c 228/316: Make unit tests use randomized file names, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 47d9c79 295/316: Moved tests about, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests f8e3bbc 311/316: Return fully qualified types if necessary., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 19646a7 141/316: semantic/bovine/c: Add support for typedef references, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 39f1464 235/316: (cit-srecode-fill-cpp): Fixed misspelling of target name., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests fb048d1 006/316: (semantic-c): Hack for Emacs 21 to get things running., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests c43f15e 015/316: Test project configuration file., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 23862f3 023/316: Test friends, Edward John Steere, 2017/01/27