[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex fabe675915 12/77: Adapt regression test for the
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex fabe675915 12/77: Adapt regression test for the previous commit |
Date: |
Fri, 26 Aug 2022 16:06:32 -0400 (EDT) |
branch: externals/auctex
commit fabe675915d1c29302f9326aae592b926cd77598
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>
Adapt regression test for the previous commit
* tests/tex/error-parsing.el (TeX-error-parsing): Tweak
`default-diretory' so that `TeX-parse-error' can find dummy file.
* tests/tex/test.tex: New dummy file.
---
tests/tex/error-parsing.el | 9 +++++++--
tests/tex/test.tex | 1 +
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/tests/tex/error-parsing.el b/tests/tex/error-parsing.el
index 0bca37d798..afdf3f970b 100644
--- a/tests/tex/error-parsing.el
+++ b/tests/tex/error-parsing.el
@@ -1,6 +1,6 @@
;;; error-parsing.el --- tests for error parsing -*- lexical-binding: t; -*-
-;; Copyright (C) 2016-2021 Free Software Foundation, Inc.
+;; Copyright (C) 2016-2022 Free Software Foundation, Inc.
;; This file is part of AUCTeX.
@@ -34,7 +34,12 @@
(setq TeX-debug-warnings t
TeX-debug-bad-boxes t)
(insert-file-contents TeX-test-compilation-log)
- (TeX-parse-all-errors)
+ ;; Set `default-directory' so that `TeX-parse-error' can
+ ;; find dummy file "./test.tex".
+ (let ((default-directory
+ (expand-file-name
+ (file-name-directory TeX-test-compilation-log))))
+ (TeX-parse-all-errors))
TeX-error-list)
'((warning
"./nice-class.cls" 32
diff --git a/tests/tex/test.tex b/tests/tex/test.tex
new file mode 100644
index 0000000000..d7d69b4daf
--- /dev/null
+++ b/tests/tex/test.tex
@@ -0,0 +1 @@
+This is a dummy file for `TeX-error-parsing' in error-parsing.el.
- [elpa] externals/auctex updated (b91f15b3a3 -> 0029ca410f), Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 71a288a2fe 08/77: Add styles for iftex bundle, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 9ede1fa203 03/77: Improve insertion of & in matrix-like environments, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 7846cb9f94 04/77: Mention 'M-RET' alias which runs `LaTeX-insert-item', Tassilo Horn, 2022/08/26
- [elpa] externals/auctex ba6e5ef69c 07/77: ; Fix warnings reported by 'make dynvars-check', Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 619f329595 10/77: * tex-ispell.el (TeX-ispell-skip-cmds-list): Support shortvrb.sty., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex fabe675915 12/77: Adapt regression test for the previous commit,
Tassilo Horn <=
- [elpa] externals/auctex ecf8b28cda 14/77: Add new style/multibib.el, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex e9af1e68fb 15/77: Fix preview-latex to work with desktop.el again, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 37e5a450a3 20/77: Complete LaTeX lengths and counters, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 3f0d5a7411 23/77: Add support for \linespread macro, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex d47a6e8716 29/77: Support complex \input path (bug#55511), Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 9378b66daa 61/77: Add TODO, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 9a3078e510 68/77: Fix comments and doc strings, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 30f7a1ca68 63/77: Don't use void function texinfo-outline-level, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 3447aa75c3 32/77: ; Further fixes about single quotes in docstrings, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex fade32d568 54/77: Don't break line inside \verb-like macro (bug#56160), Tassilo Horn, 2022/08/26