summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-07-11 12:19:18 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2022-07-11 12:29:12 +0200
commit25dd4f169d939295e76b8eb1c2fae2e3c15a191b (patch)
treecde83a4bc576f56f5aba90b75f751bbeec6b14a1 /test/lisp/progmodes
parent7ae7a95e803aa898d31673d552f254092ce202b1 (diff)
downloademacs-25dd4f169d939295e76b8eb1c2fae2e3c15a191b.tar.gz
emacs-25dd4f169d939295e76b8eb1c2fae2e3c15a191b.tar.bz2
emacs-25dd4f169d939295e76b8eb1c2fae2e3c15a191b.zip
Add test for the gradle-android compilation message pattern
* etc/compilation.txt (symbol): Add example. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): (compile-test-error-regexps): Add test case (bug#56249).
Diffstat (limited to 'test/lisp/progmodes')
-rw-r--r--test/lisp/progmodes/compile-tests.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lisp/progmodes/compile-tests.el b/test/lisp/progmodes/compile-tests.el
index 774370be4cf..36bdbe4c91b 100644
--- a/test/lisp/progmodes/compile-tests.el
+++ b/test/lisp/progmodes/compile-tests.el
@@ -260,6 +260,9 @@
"e: e:\\src\\Test.kt: (34, 15): foo: bar" 4 15 34 "e:\\src\\Test.kt" 2)
(gradle-kotlin
"w: e:\\src\\Test.kt: (11, 98): foo: bar" 4 98 11 "e:\\src\\Test.kt" 1)
+ (gradle-android
+ " ERROR:/Users/salutis/src/AndroidSchemeExperiment/app/build/intermediates/incremental/debug/mergeDebugResources/stripped.dir/layout/item.xml:3: AAPT: error: '16dpw' is incompatible with attribute padding (attr) dimension."
+ 1 nil 3 "/Users/salutis/src/AndroidSchemeExperiment/app/build/intermediates/incremental/debug/mergeDebugResources/stripped.dir/layout/item.xml" 2)
;; Guile
(guile-file "In foo.scm:\n" 1 nil nil "foo.scm")
(guile-line " 63:4 [call-with-prompt prompt0 ...]" 1 4 63 nil)
@@ -492,7 +495,7 @@ The test data is in `compile-tests--test-regexps-data'."
(compilation-num-warnings-found 0)
(compilation-num-infos-found 0))
(mapc #'compile--test-error-line compile-tests--test-regexps-data)
- (should (eq compilation-num-errors-found 97))
+ (should (eq compilation-num-errors-found 98))
(should (eq compilation-num-warnings-found 35))
(should (eq compilation-num-infos-found 28)))))