carbon2-commit: fix expected-buggy test to avoid abort in test file

Ben Wing ben at xemacs.org
Fri Mar 5 12:53:20 EST 2010


changeset:   5115:133e816778ed
user:        Ben Wing <ben at xemacs.org>
date:        Mon Feb 22 21:16:19 2010 -0600
files:       tests/ChangeLog tests/automated/syntax-tests.el
description:
fix expected-buggy test to avoid abort in test file

-------------------- ChangeLog entries follow: --------------------

tests/ChangeLog addition:

2010-02-22  Ben Wing  <ben at xemacs.org>

	* automated/syntax-tests.el:
	Use Known-Bug-Expect-Error, not Known-Bug-Expect-Failure, when
	error expected; else test suite will abort this file.


diff -r 501b5e84f5a7 -r 133e816778ed tests/ChangeLog
--- a/tests/ChangeLog	Mon Feb 22 21:14:06 2010 -0600
+++ b/tests/ChangeLog	Mon Feb 22 21:16:19 2010 -0600
@@ -1,3 +1,9 @@
+2010-02-22  Ben Wing  <ben at xemacs.org>
+
+	* automated/syntax-tests.el:
+	Use Known-Bug-Expect-Error, not Known-Bug-Expect-Failure, when
+	error expected; else test suite will abort this file.
+	
 2010-02-22  Ben Wing  <ben at xemacs.org>
 
 	* automated/test-harness.el (test-harness-from-buffer):
diff -r 501b5e84f5a7 -r 133e816778ed tests/automated/syntax-tests.el
--- a/tests/automated/syntax-tests.el	Mon Feb 22 21:14:06 2010 -0600
+++ b/tests/automated/syntax-tests.el	Mon Feb 22 21:16:19 2010 -0600
@@ -192,8 +192,9 @@
     (Assert (backward-up-list-moves-point-from-to 20 3))
     (Known-Bug-Expect-Failure
      (Assert (backward-up-list-moves-point-from-to 22 3)))
-    (Known-Bug-Expect-Failure
-     (Assert (backward-up-list-moves-point-from-to 23 3)))
+    (Known-Bug-Expect-Error scan-error
+     (Assert (backward-up-list-moves-point-from-to 23 3))
+     )
     (Assert (backward-up-list-moves-point-from-to 24 3))
     ;; This is maybe a little tricky, since we don't expect the position
     ;; check to happen -- so use an illegal expected position



More information about the XEmacs-Patches mailing list