diff options
| author | Kenichi Handa | 2011-12-05 16:03:31 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2011-12-05 16:03:31 +0900 |
| commit | 2ab04b956544fc24132cee405f93c1a757ebca56 (patch) | |
| tree | f8ff3a51bac0430ed69b6497568de699f6d3b904 /test | |
| parent | a79703f53ccd12623371263d93baf0d1be928ec7 (diff) | |
| parent | 58a70b943c3efcc25e1396c8e67bc440c43a3f0a (diff) | |
| download | emacs-2ab04b956544fc24132cee405f93c1a757ebca56.tar.gz emacs-2ab04b956544fc24132cee405f93c1a757ebca56.zip | |
merge trunk
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 6 | ||||
| -rw-r--r-- | test/automated/compile-tests.el | 64 | ||||
| -rw-r--r-- | test/cedet/tests/test.el | 2 |
3 files changed, 39 insertions, 33 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 04a70737d61..964238ae45b 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-12-03 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * automated/compile-tests.el (compile-tests--test-regexps-data): | ||
| 4 | Increase column numbers by one to reflect change in how | ||
| 5 | compilation-message is recorded (Bug#10172). | ||
| 6 | |||
| 1 | 2011-11-22 Glenn Morris <rgm@gnu.org> | 7 | 2011-11-22 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * rmailmm.el: New file, split from lisp/mail/rmailmm.el. | 9 | * rmailmm.el: New file, split from lisp/mail/rmailmm.el. |
diff --git a/test/automated/compile-tests.el b/test/automated/compile-tests.el index 419cc0e9116..0203084bf38 100644 --- a/test/automated/compile-tests.el +++ b/test/automated/compile-tests.el | |||
| @@ -41,7 +41,7 @@ | |||
| 41 | 1 nil 17 "fplot.f") | 41 | 1 nil 17 "fplot.f") |
| 42 | ;; Ada & Mpatrol | 42 | ;; Ada & Mpatrol |
| 43 | ("foo.adb:61:11: [...] in call to size declared at foo.ads:11" | 43 | ("foo.adb:61:11: [...] in call to size declared at foo.ads:11" |
| 44 | 1 10 61 "foo.adb") | 44 | 1 11 61 "foo.adb") |
| 45 | ("foo.adb:61:11: [...] in call to size declared at foo.ads:11" | 45 | ("foo.adb:61:11: [...] in call to size declared at foo.ads:11" |
| 46 | 52 nil 11 "foo.ads") | 46 | 52 nil 11 "foo.ads") |
| 47 | (" 0x8008621 main+16 at error.c:17" | 47 | (" 0x8008621 main+16 at error.c:17" |
| @@ -55,7 +55,7 @@ | |||
| 55 | ("[javac] /src/DataBaseTestCase.java:49: warning: finally clause cannot complete normally" | 55 | ("[javac] /src/DataBaseTestCase.java:49: warning: finally clause cannot complete normally" |
| 56 | 13 nil 49 "/src/DataBaseTestCase.java") | 56 | 13 nil 49 "/src/DataBaseTestCase.java") |
| 57 | ("[jikes] foo.java:3:5:7:9: blah blah" | 57 | ("[jikes] foo.java:3:5:7:9: blah blah" |
| 58 | 14 (4 . 9) (3 . 7) "foo.java") | 58 | 14 (5 . 10) (3 . 7) "foo.java") |
| 59 | ;; bash | 59 | ;; bash |
| 60 | ("a.sh: line 1: ls-l: command not found" | 60 | ("a.sh: line 1: ls-l: command not found" |
| 61 | 1 nil 1 "a.sh") | 61 | 1 nil 1 "a.sh") |
| @@ -70,9 +70,9 @@ | |||
| 70 | 1 nil 68 "pong.c") | 70 | 1 nil 68 "pong.c") |
| 71 | ;; caml | 71 | ;; caml |
| 72 | ("File \"foobar.ml\", lines 5-8, characters 20-155: blah blah" | 72 | ("File \"foobar.ml\", lines 5-8, characters 20-155: blah blah" |
| 73 | 1 (19 . 155) (5 . 8) "foobar.ml") | 73 | 1 (20 . 156) (5 . 8) "foobar.ml") |
| 74 | ("File \"F:\\ocaml\\sorting.ml\", line 65, characters 2-145:\nWarning 26: unused variable equ." | 74 | ("File \"F:\\ocaml\\sorting.ml\", line 65, characters 2-145:\nWarning 26: unused variable equ." |
| 75 | 1 (1 . 145) 65 "F:\\ocaml\\sorting.ml") | 75 | 1 (2 . 146) 65 "F:\\ocaml\\sorting.ml") |
| 76 | ("File \"/usr/share/gdesklets/display/TargetGauge.py\", line 41, in add_children" | 76 | ("File \"/usr/share/gdesklets/display/TargetGauge.py\", line 41, in add_children" |
| 77 | 1 nil 41 "/usr/share/gdesklets/display/TargetGauge.py") | 77 | 1 nil 41 "/usr/share/gdesklets/display/TargetGauge.py") |
| 78 | ("File \\lib\\python\\Products\\PythonScripts\\PythonScript.py, line 302, in _exec" | 78 | ("File \\lib\\python\\Products\\PythonScripts\\PythonScript.py, line 302, in _exec" |
| @@ -83,13 +83,13 @@ | |||
| 83 | ("\"foo.f\", line 3: Error: syntax error near end of statement" | 83 | ("\"foo.f\", line 3: Error: syntax error near end of statement" |
| 84 | 1 nil 3 "foo.f") | 84 | 1 nil 3 "foo.f") |
| 85 | ("\"vvouch.c\", line 19.5: 1506-046 (S) Syntax error." | 85 | ("\"vvouch.c\", line 19.5: 1506-046 (S) Syntax error." |
| 86 | 1 4 19 "vvouch.c") | 86 | 1 5 19 "vvouch.c") |
| 87 | ("\"foo.c\", line 32 pos 1; (E) syntax error; unexpected symbol: \"lossage\"" | 87 | ("\"foo.c\", line 32 pos 1; (E) syntax error; unexpected symbol: \"lossage\"" |
| 88 | 1 0 32 "foo.c") | 88 | 1 1 32 "foo.c") |
| 89 | ("\"foo.adb\", line 2(11): warning: file name does not match ..." | 89 | ("\"foo.adb\", line 2(11): warning: file name does not match ..." |
| 90 | 1 10 2 "foo.adb") | 90 | 1 11 2 "foo.adb") |
| 91 | ("\"src/swapping.c\", line 30.34: 1506-342 (W) \"/*\" detected in comment." | 91 | ("\"src/swapping.c\", line 30.34: 1506-342 (W) \"/*\" detected in comment." |
| 92 | 1 33 30 "src/swapping.c") | 92 | 1 34 30 "src/swapping.c") |
| 93 | ;; cucumber | 93 | ;; cucumber |
| 94 | ("Scenario: undefined step # features/cucumber.feature:3" | 94 | ("Scenario: undefined step # features/cucumber.feature:3" |
| 95 | 29 nil 3 "features/cucumber.feature") | 95 | 29 nil 3 "features/cucumber.feature") |
| @@ -115,7 +115,7 @@ | |||
| 115 | ("Warning near line 10 file arrayclash.f: Module contains no executable" | 115 | ("Warning near line 10 file arrayclash.f: Module contains no executable" |
| 116 | 1 nil 10 "arrayclash.f") | 116 | 1 nil 10 "arrayclash.f") |
| 117 | ("Nonportable usage near line 31 col 9 file assign.f: mixed default and explicit" | 117 | ("Nonportable usage near line 31 col 9 file assign.f: mixed default and explicit" |
| 118 | 24 8 31 "assign.f") | 118 | 24 9 31 "assign.f") |
| 119 | ;; iar | 119 | ;; iar |
| 120 | ("\"foo.c\",3 Error[32]: Error message" | 120 | ("\"foo.c\",3 Error[32]: Error message" |
| 121 | 1 nil 3 "foo.c") | 121 | 1 nil 3 "foo.c") |
| @@ -123,11 +123,11 @@ | |||
| 123 | 1 nil 3 "foo.c") | 123 | 1 nil 3 "foo.c") |
| 124 | ;; ibm | 124 | ;; ibm |
| 125 | ("foo.c(2:0) : informational EDC0804: Function foo is not referenced." | 125 | ("foo.c(2:0) : informational EDC0804: Function foo is not referenced." |
| 126 | 1 -1 2 "foo.c") | 126 | 1 0 2 "foo.c") |
| 127 | ("foo.c(3:8) : warning EDC0833: Implicit return statement encountered." | 127 | ("foo.c(3:8) : warning EDC0833: Implicit return statement encountered." |
| 128 | 1 7 3 "foo.c") | 128 | 1 8 3 "foo.c") |
| 129 | ("foo.c(5:5) : error EDC0350: Syntax error." | 129 | ("foo.c(5:5) : error EDC0350: Syntax error." |
| 130 | 1 4 5 "foo.c") | 130 | 1 5 5 "foo.c") |
| 131 | ;; irix | 131 | ;; irix |
| 132 | ("ccom: Error: foo.c, line 2: syntax error" | 132 | ("ccom: Error: foo.c, line 2: syntax error" |
| 133 | 1 nil 2 "foo.c") | 133 | 1 nil 2 "foo.c") |
| @@ -163,7 +163,7 @@ | |||
| 163 | ("In file included from /usr/include/c++/3.3/backward/warn.h:4," | 163 | ("In file included from /usr/include/c++/3.3/backward/warn.h:4," |
| 164 | 1 nil 4 "/usr/include/c++/3.3/backward/warn.h") | 164 | 1 nil 4 "/usr/include/c++/3.3/backward/warn.h") |
| 165 | (" from /usr/include/c++/3.3/backward/iostream.h:31:0," | 165 | (" from /usr/include/c++/3.3/backward/iostream.h:31:0," |
| 166 | 1 -1 31 "/usr/include/c++/3.3/backward/iostream.h") | 166 | 1 0 31 "/usr/include/c++/3.3/backward/iostream.h") |
| 167 | (" from test_clt.cc:1:" | 167 | (" from test_clt.cc:1:" |
| 168 | 1 nil 1 "test_clt.cc") | 168 | 1 nil 1 "test_clt.cc") |
| 169 | ;; gnu | 169 | ;; gnu |
| @@ -173,15 +173,15 @@ | |||
| 173 | ("foo/bar.py:8: FutureWarning message" 1 nil 8 "foo/bar.py") | 173 | ("foo/bar.py:8: FutureWarning message" 1 nil 8 "foo/bar.py") |
| 174 | ("foo.py:8: RuntimeWarning message" 1 nil 8 "foo.py") | 174 | ("foo.py:8: RuntimeWarning message" 1 nil 8 "foo.py") |
| 175 | ("foo.c:8:I: message" 1 nil 8 "foo.c") | 175 | ("foo.c:8:I: message" 1 nil 8 "foo.c") |
| 176 | ("foo.c:8.23: note: message" 1 22 8 "foo.c") | 176 | ("foo.c:8.23: note: message" 1 23 8 "foo.c") |
| 177 | ("foo.c:8.23: info: message" 1 22 8 "foo.c") | 177 | ("foo.c:8.23: info: message" 1 23 8 "foo.c") |
| 178 | ("foo.c:8:23:information: message" 1 22 8 "foo.c") | 178 | ("foo.c:8:23:information: message" 1 23 8 "foo.c") |
| 179 | ("foo.c:8.23-45: Informational: message" 1 (22 . nil) (8 . 45) "foo.c") | 179 | ("foo.c:8.23-45: Informational: message" 1 (23 . nil) (8 . 45) "foo.c") |
| 180 | ("foo.c:8-23: message" 1 nil (8 . 23) "foo.c") | 180 | ("foo.c:8-23: message" 1 nil (8 . 23) "foo.c") |
| 181 | ("foo.c:8-45.3: message" 1 (nil . 3) (8 . 45) "foo.c") | 181 | ("foo.c:8-45.3: message" 1 (nil . 4) (8 . 45) "foo.c") |
| 182 | ("foo.c:8.23-9.1: message" 1 (22 . 1) (8 . 9) "foo.c") | 182 | ("foo.c:8.23-9.1: message" 1 (23 . 2) (8 . 9) "foo.c") |
| 183 | ("jade:dbcommon.dsl:133:17:E: missing argument for function call" | 183 | ("jade:dbcommon.dsl:133:17:E: missing argument for function call" |
| 184 | 1 16 133 "dbcommon.dsl") | 184 | 1 17 133 "dbcommon.dsl") |
| 185 | ("G:/cygwin/dev/build-myproj.xml:54: Compiler Adapter 'javac' can't be found." | 185 | ("G:/cygwin/dev/build-myproj.xml:54: Compiler Adapter 'javac' can't be found." |
| 186 | 1 nil 54 "G:/cygwin/dev/build-myproj.xml") | 186 | 1 nil 54 "G:/cygwin/dev/build-myproj.xml") |
| 187 | ("file:G:/cygwin/dev/build-myproj.xml:54: Compiler Adapter 'javac' can't be found." | 187 | ("file:G:/cygwin/dev/build-myproj.xml:54: Compiler Adapter 'javac' can't be found." |
| @@ -189,8 +189,8 @@ | |||
| 189 | ("{standard input}:27041: Warning: end of file not at end of a line; newline inserted" | 189 | ("{standard input}:27041: Warning: end of file not at end of a line; newline inserted" |
| 190 | 1 nil 27041 "{standard input}") | 190 | 1 nil 27041 "{standard input}") |
| 191 | ;; lcc | 191 | ;; lcc |
| 192 | ("E, file.cc(35,52) Illegal operation on pointers" 1 51 35 "file.cc") | 192 | ("E, file.cc(35,52) Illegal operation on pointers" 1 52 35 "file.cc") |
| 193 | ("W, file.cc(36,52) blah blah" 1 51 36 "file.cc") | 193 | ("W, file.cc(36,52) blah blah" 1 52 36 "file.cc") |
| 194 | ;; makepp | 194 | ;; makepp |
| 195 | ("makepp: Scanning `/foo/bar.c'" 19 nil nil "/foo/bar.c") | 195 | ("makepp: Scanning `/foo/bar.c'" 19 nil nil "/foo/bar.c") |
| 196 | ("makepp: warning: bla bla `/foo/bar.c' and `/foo/bar.h'" 27 nil nil "/foo/bar.c") | 196 | ("makepp: warning: bla bla `/foo/bar.c' and `/foo/bar.h'" 27 nil nil "/foo/bar.c") |
| @@ -198,7 +198,7 @@ | |||
| 198 | ("makepp: bla bla `/foo/bar.c' and `/foo/bar.h'" 35 nil nil "/foo/bar.h") | 198 | ("makepp: bla bla `/foo/bar.c' and `/foo/bar.h'" 35 nil nil "/foo/bar.h") |
| 199 | ;; maven | 199 | ;; maven |
| 200 | ("FooBar.java:[111,53] no interface expected here" | 200 | ("FooBar.java:[111,53] no interface expected here" |
| 201 | 1 52 111 "FooBar.java") | 201 | 1 53 111 "FooBar.java") |
| 202 | ;; mips-1 mips-2 | 202 | ;; mips-1 mips-2 |
| 203 | ("TrimMask (255) in solomon.c may be indistinguishable from TrimMasks (93) in solomo.c due to truncation" | 203 | ("TrimMask (255) in solomon.c may be indistinguishable from TrimMasks (93) in solomo.c due to truncation" |
| 204 | 11 nil 255 "solomon.c") | 204 | 11 nil 255 "solomon.c") |
| @@ -220,17 +220,17 @@ | |||
| 220 | 1 nil 120 "..\src\ctrl\lister.c") | 220 | 1 nil 120 "..\src\ctrl\lister.c") |
| 221 | ;; oracle | 221 | ;; oracle |
| 222 | ("Semantic error at line 528, column 5, file erosacqdb.pc:" | 222 | ("Semantic error at line 528, column 5, file erosacqdb.pc:" |
| 223 | 1 4 528 "erosacqdb.pc") | 223 | 1 5 528 "erosacqdb.pc") |
| 224 | ("Error at line 41, column 10 in file /usr/src/sb/ODBI_BHP.hpp" | 224 | ("Error at line 41, column 10 in file /usr/src/sb/ODBI_BHP.hpp" |
| 225 | 1 9 41 "/usr/src/sb/ODBI_BHP.hpp") | 225 | 1 10 41 "/usr/src/sb/ODBI_BHP.hpp") |
| 226 | ("PCC-02150: error at line 49, column 27 in file /usr/src/sb/ODBI_dxfgh.pc" | 226 | ("PCC-02150: error at line 49, column 27 in file /usr/src/sb/ODBI_dxfgh.pc" |
| 227 | 1 26 49 "/usr/src/sb/ODBI_dxfgh.pc") | 227 | 1 27 49 "/usr/src/sb/ODBI_dxfgh.pc") |
| 228 | ("PCC-00003: invalid SQL Identifier at column name in line 12 of file /usr/src/sb/ODBI_BHP.hpp" | 228 | ("PCC-00003: invalid SQL Identifier at column name in line 12 of file /usr/src/sb/ODBI_BHP.hpp" |
| 229 | 1 nil 12 "/usr/src/sb/ODBI_BHP.hpp") | 229 | 1 nil 12 "/usr/src/sb/ODBI_BHP.hpp") |
| 230 | ("PCC-00004: mismatched IF/ELSE/ENDIF block at line 27 in file /usr/src/sb/ODBI_BHP.hpp" | 230 | ("PCC-00004: mismatched IF/ELSE/ENDIF block at line 27 in file /usr/src/sb/ODBI_BHP.hpp" |
| 231 | 1 nil 27 "/usr/src/sb/ODBI_BHP.hpp") | 231 | 1 nil 27 "/usr/src/sb/ODBI_BHP.hpp") |
| 232 | ("PCC-02151: line 21 column 40 file /usr/src/sb/ODBI_BHP.hpp:" | 232 | ("PCC-02151: line 21 column 40 file /usr/src/sb/ODBI_BHP.hpp:" |
| 233 | 1 39 21 "/usr/src/sb/ODBI_BHP.hpp") | 233 | 1 40 21 "/usr/src/sb/ODBI_BHP.hpp") |
| 234 | ;; perl | 234 | ;; perl |
| 235 | ("syntax error at automake line 922, near \"':'\"" | 235 | ("syntax error at automake line 922, near \"':'\"" |
| 236 | 14 nil 922 "automake") | 236 | 14 nil 922 "automake") |
| @@ -262,9 +262,9 @@ | |||
| 262 | 1 nil 10 "examples/test-unit.rb") | 262 | 1 nil 10 "examples/test-unit.rb") |
| 263 | ;; rxp | 263 | ;; rxp |
| 264 | ("Error: Mismatched end tag: expected </geroup>, got </group>\nin unnamed entity at line 71 char 8 of file:///home/reto/test/group.xml" | 264 | ("Error: Mismatched end tag: expected </geroup>, got </group>\nin unnamed entity at line 71 char 8 of file:///home/reto/test/group.xml" |
| 265 | 1 7 71 "/home/reto/test/group.xml") | 265 | 1 8 71 "/home/reto/test/group.xml") |
| 266 | ("Warning: Start tag for undeclared element geroup\nin unnamed entity at line 4 char 8 of file:///home/reto/test/group.xml" | 266 | ("Warning: Start tag for undeclared element geroup\nin unnamed entity at line 4 char 8 of file:///home/reto/test/group.xml" |
| 267 | 1 7 4 "/home/reto/test/group.xml") | 267 | 1 8 4 "/home/reto/test/group.xml") |
| 268 | ;; sparc-pascal-file sparc-pascal-line sparc-pascal-example | 268 | ;; sparc-pascal-file sparc-pascal-line sparc-pascal-example |
| 269 | ("Thu May 14 10:46:12 1992 mom3.p:" | 269 | ("Thu May 14 10:46:12 1992 mom3.p:" |
| 270 | 1 nil nil "mom3.p") | 270 | 1 nil nil "mom3.p") |
| @@ -274,10 +274,10 @@ | |||
| 274 | ("cc-1070 cc: WARNING File = linkl.c, Line = 38" | 274 | ("cc-1070 cc: WARNING File = linkl.c, Line = 38" |
| 275 | 13 nil 38 "linkl.c") | 275 | 13 nil 38 "linkl.c") |
| 276 | ("cf90-113 f90comp: ERROR NSE, File = Hoved.f90, Line = 16, Column = 3" | 276 | ("cf90-113 f90comp: ERROR NSE, File = Hoved.f90, Line = 16, Column = 3" |
| 277 | 18 2 16 "Hoved.f90") | 277 | 18 3 16 "Hoved.f90") |
| 278 | ;; sun-ada | 278 | ;; sun-ada |
| 279 | ("/home3/xdhar/rcds_rc/main.a, line 361, char 6:syntax error: \",\" inserted" | 279 | ("/home3/xdhar/rcds_rc/main.a, line 361, char 6:syntax error: \",\" inserted" |
| 280 | 1 5 361 "/home3/xdhar/rcds_rc/main.a") | 280 | 1 6 361 "/home3/xdhar/rcds_rc/main.a") |
| 281 | ;; 4bsd | 281 | ;; 4bsd |
| 282 | ("/usr/src/foo/foo.c(8): warning: w may be used before set" | 282 | ("/usr/src/foo/foo.c(8): warning: w may be used before set" |
| 283 | 1 nil 8 "/usr/src/foo/foo.c") | 283 | 1 nil 8 "/usr/src/foo/foo.c") |
| @@ -300,7 +300,7 @@ | |||
| 300 | 1 nil 46 "t/foo.t") | 300 | 1 nil 46 "t/foo.t") |
| 301 | ;; weblint | 301 | ;; weblint |
| 302 | ("index.html (13:1) Unknown element <fdjsk>" | 302 | ("index.html (13:1) Unknown element <fdjsk>" |
| 303 | 1 0 13 "index.html")) | 303 | 1 1 13 "index.html")) |
| 304 | "List of tests for `compilation-error-regexp-alist'. | 304 | "List of tests for `compilation-error-regexp-alist'. |
| 305 | Each element has the form (STR POS COLUMN LINE FILENAME), where | 305 | Each element has the form (STR POS COLUMN LINE FILENAME), where |
| 306 | STR is an error string, POS is the position of the error in STR, | 306 | STR is an error string, POS is the position of the error in STR, |
diff --git a/test/cedet/tests/test.el b/test/cedet/tests/test.el index 8a95572c497..57056b8065b 100644 --- a/test/cedet/tests/test.el +++ b/test/cedet/tests/test.el | |||
| @@ -144,7 +144,7 @@ | |||
| 144 | this | 144 | this |
| 145 | that) | 145 | that) |
| 146 | 146 | ||
| 147 | (define-mode-local-override a-overriden-function | 147 | (define-mode-local-override a-overridden-function |
| 148 | emacs-lisp-mode (tag) | 148 | emacs-lisp-mode (tag) |
| 149 | "A function that is overloaded." | 149 | "A function that is overloaded." |
| 150 | nil) | 150 | nil) |