Skip to content

Commit 227e462

Browse files
committed
coq-par-compile: adapt coqdep warning regexp to 8.19
1 parent ff596f0 commit 227e462

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGES

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ the Git ChangeLog, the GitHub repo https://github.com/ProofGeneral/PG
55

66
* Changes of Proof General 4.6 from Proof General 4.5
77

8-
N/A
8+
** Coq changes
9+
10+
*** support Coq 8.19
911

1012
* Changes of Proof General 4.5 from Proof General 4.4
1113

ci/compile-tests/010-coqdep-errors/runtest.el

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
;;; Define the tests
3535

3636
(ert-deftest cct-coqdep-fail-on-require ()
37-
:expected-result (if (coq--post-v818) :failed :passed)
3837
"coqdep error on missing library in a require command is detected."
3938
;; (setq cct--debug-tests t)
4039
;; (setq coq--debug-auto-compilation t)
@@ -97,7 +96,6 @@
9796

9897

9998
(ert-deftest cct-coqdep-fail-on-require-in-dependency ()
100-
:expected-result (if (coq--post-v818) :failed :passed)
10199
"coqdep error because of a missing library in a dependency is detected."
102100
(let (coqdep-errror-in-response
103101
missing-module-in-response

coq/coq-compile-common.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ or not."
523523
:safe (lambda (v) (cl-every #'stringp v)))
524524

525525
(defcustom coq-coqdep-error-regexp
526-
(concat "^\\*\\*\\* Warning: in file .*, library .* is required "
526+
(concat "^\\(\\*\\*\\* \\)?Warning: in file .*, library[ \n].* is required "
527527
"and has not been found")
528528
"Regexp to match errors in the output of coqdep.
529529
coqdep indicates errors not always via a non-zero exit status,

0 commit comments

Comments
 (0)