diff options
| author | Michael Albinus <michael.albinus@gmx.de> | 2026-06-02 12:43:08 +0200 |
|---|---|---|
| committer | Michael Albinus <michael.albinus@gmx.de> | 2026-06-02 12:43:08 +0200 |
| commit | 2db5a145acbbe84042128806d8b2e333495cf70e (patch) | |
| tree | 94f9931086f7455e97680914076f8b62d5033aaf /test/lisp/progmodes/compile-tests.el | |
| parent | bfa4d6dd400f18832aa19df3cdd41bfd763c85f7 (diff) | |
Support Ansible messages in compilation-mode
* etc/NEWS: Mention Ansible integration in compilation mode.
* etc/compilation.txt: Add examples of Ansible error, warning and
note messages. Fix typos.
* lisp/progmodes/compile.el
(compilation-error-regexp-alist-alist): Add Ansible regexps for
error, warning and note messages.
* test/lisp/progmodes/compile-tests.el
(compile-tests--test-regexps-data): Add new test cases.
(compile-test-error-regexps): Increase expected infos.
Diffstat (limited to 'test/lisp/progmodes/compile-tests.el')
| -rw-r--r-- | test/lisp/progmodes/compile-tests.el | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/lisp/progmodes/compile-tests.el b/test/lisp/progmodes/compile-tests.el index caf386b4950..cd8e41c3dfb 100644 --- a/test/lisp/progmodes/compile-tests.el +++ b/test/lisp/progmodes/compile-tests.el @@ -52,6 +52,17 @@ ;; aix (aix "****** Error number 140 in line 8 of file errors.c ******" 25 nil 8 "errors.c" error) + ;; Ansible + (ansible-error "[ERROR]: couldn't resolve module/action 'shelll'. This often indicates a misspelling, missing collection, or incorrect module path." + 1 nil nil nil error) + (ansible-fatal "fatal: [localhost]: FAILED! => {" + 1 nil nil nil error) + (ansible-warning "[WARNING]: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg." + 1 nil nil nil warning) + (ansible-included "included: /home/albinus/src/tramp-tests/roles/test/tasks/adb.yml for localhost => (item={'name': 'adb', 'start': '04157df41d46b840'})" + 11 nil nil "/home/albinus/src/tramp-tests/roles/test/tasks/adb.yml" info) + (ansible-origin "Origin: /home/albinus/src/tramp-tests/roles/test/tasks/adb.yml:19:3" + 9 3 19 "/home/albinus/src/tramp-tests/roles/test/tasks/adb.yml" info) ;; ant (ant "[javac] /src/DataBaseTestCase.java:27: unreported exception ..." 13 nil 27 "/src/DataBaseTestCase.java" error) @@ -561,7 +572,7 @@ The test data is in `compile-tests--test-regexps-data'." (should (eq compilation-num-errors-found 111)) (should (eq compilation-num-warnings-found 37)) - (should (eq compilation-num-infos-found 36))))) + (should (eq compilation-num-infos-found 38))))) (ert-deftest compile-test-grep-regexps () "Test the `grep-regexp-alist' regexps. |
