CVS update by aidan xemacs/tests/automated ...

xemacs-cvs at xemacs.org xemacs-cvs at xemacs.org
Sat Nov 25 17:06:34 EST 2006


  User: aidan   
  Date: 06/11/25 23:06:34

  Modified:    xemacs/tests/automated mule-tests.el
  Added:       xemacs/tests/automated iso-ir-196-test.el
Log:
Move the ISO-IR 196 test, which may crash, to a separate file.

Revision  Changes    Path
1.86      +6 -0      XEmacs/xemacs/tests/ChangeLog

Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/tests/ChangeLog,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -p -r1.85 -r1.86
--- ChangeLog	2006/11/23 13:43:27	1.85
+++ ChangeLog	2006/11/25 22:06:29	1.86
@@ -1,3 +1,9 @@
+2006-11-25  Aidan Kehoe  <kehoea at parhasard.net>
+
+	* automated/iso-ir-196-test.el:
+	* automated/mule-tests.el (featurep):
+	Move the tested added in the previous commit to a separate file. 
+
 2006-11-23  Aidan Kehoe  <kehoea at parhasard.net>
 
 	* automated/mule-tests.el (featurep):



1.13      +0 -6      XEmacs/xemacs/tests/automated/mule-tests.el

Index: mule-tests.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/tests/automated/mule-tests.el,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- mule-tests.el	2006/11/23 13:43:29	1.12
+++ mule-tests.el	2006/11/25 22:06:34	1.13
@@ -441,12 +441,6 @@ This is a naive implementation in Lisp. 
                (eq (aref ccl-vector 4)  
                    (encode-char (make-char 'control-1 31) 'ucs)))))
 
-  ;; This used to crash, at least in debug builds:
-
-  (Assert (decode-coding-string 
-           (string ?\33 ?\45 ?\107 ?\306 ?\222 ?\215 ?\306)
-           'iso-2022-jp))
-
   ;;---------------------------------------------------------------
   ;; Test charset-in-* functions
   ;;---------------------------------------------------------------



1.1                  XEmacs/xemacs/tests/automated/iso-ir-196-test.el

Index: iso-ir-196-test.el
===================================================================
;; Copyright (C) 2006 Free Software Foundation, Inc.

;; Author: Aidan Kehoe <kehoea at parhasard.net>
;; Maintainers: Aidan Kehoe <kehoea at parhasard.net>
;; Created: 2006
;; Keywords: tests

;; This file is part of XEmacs.

;; XEmacs is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.

;; XEmacs is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;; General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with XEmacs; see the file COPYING.  If not, write to the Free
;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
;; 02111-1307, USA.

;;; Synched up with: Not in FSF.

;;; Commentary:

;; Previously, we reacted badly to invalid sequences of non-UTF-8 octets
;; when handling UTF-8 encode in ISO 2022.

(when (featurep 'mule)
  ;; This used to crash, at least in debug builds:
  (Assert (decode-coding-string 
           (string ?\33 ?\45 ?\107 ?\306 ?\222 ?\215 ?\306)
           'iso-2022-jp)))





More information about the XEmacs-CVS mailing list