[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: |
Sat, 28 Jan 2017 09:10:03 +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 765b8f9 208/316: (cedet-utest-test-alist): Add ede-detect-linux-utest., (continued)
- [Emacs-diffs] scratch/merge-cedet-tests 765b8f9 208/316: (cedet-utest-test-alist): Add ede-detect-linux-utest., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests bf84fd5 054/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 9c59d78 146/316: (ede-detect-utest): Change message formatting., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 909e1b9 158/316: (ede-detect-utest-init-dirmatch): Force the dirmatch configdatastash to be unbound to force arduino to flush any cached values., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests ba748b5 174/316: Added gnustep tests, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 50cce19 183/316: Added lib dir and make-type argument, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 0927d4a 180/316: (cedet-integ-test-Make, cedet-integ-test-Automake, cedet-integ-test-GNUStep): New (cedet-integ-test-proj): Take a make-type argumemt. Misc tests needed on new argument. Change how ede creates projects based on make-type. Remove spaces from the project name. (cit-finish-message): Ending message now includes the make type., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests db5f56b 172/316: (cedet-integ-test): Post a PASSED message., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests bfed386 181/316: (cit-finish-message): Add a pause, then exit with a status of "1"., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 0ceb1ef 168/316: Integration Tests., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests d3a0e00 219/316: Erorr when appropriate,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests 529fe15 195/316: Make unit tests use randomized file names, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 9b917c5 152/316: Major test restructure, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 38d59cb 207/316: Tests: Add ERT test for the C Bovinator, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 4bf5287 199/316: Fix interactive unit tests., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 784b5c8 231/316: Make unit tests use randomized file names, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests df0e0e6 193/316: Synchronize cedet/srecode with Emacs., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 2316f19 173/316: Add whitespace at the end of a filled buffer, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 7177e01 210/316: Add compdb EDE project, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests e076b36 177/316: Set the auto-add-method to always during test, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests b85662e 218/316: New file, derived from logging functions in cedet-utest.el, Edward John Steere, 2017/01/28