diff options
| author | Lars Ingebrigtsen | 2021-11-10 05:19:48 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-11-10 05:19:56 +0100 |
| commit | 057fd1ee9bf6dd135039faaed22bfc5edcd16c72 (patch) | |
| tree | 89c0e64e9c4f4f534efd90904bf15624f70acad1 | |
| parent | 18ebe6c4da30857d864e54ecd1944c102593624d (diff) | |
| download | emacs-057fd1ee9bf6dd135039faaed22bfc5edcd16c72.tar.gz emacs-057fd1ee9bf6dd135039faaed22bfc5edcd16c72.zip | |
Fix package-tests failure on native-comp
* test/lisp/emacs-lisp/package-tests.el
(package-test-macro-compilation-gz): Fix test failure on native-comp.
| -rw-r--r-- | test/lisp/emacs-lisp/package-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/package-tests.el b/test/lisp/emacs-lisp/package-tests.el index 0f0ed029c3b..3b12f57e5ce 100644 --- a/test/lisp/emacs-lisp/package-tests.el +++ b/test/lisp/emacs-lisp/package-tests.el | |||
| @@ -367,7 +367,7 @@ but with a different end of line convention (bug#48137)." | |||
| 367 | (let ((load-path load-path)) | 367 | (let ((load-path load-path)) |
| 368 | (add-to-list 'load-path (directory-file-name dir)) | 368 | (add-to-list 'load-path (directory-file-name dir)) |
| 369 | (byte-recompile-directory dir 0 t) | 369 | (byte-recompile-directory dir 0 t) |
| 370 | (mapc (lambda (f) (rename-file f (concat f ".gz"))) | 370 | (mapc (lambda (f) (call-process "gzip" nil nil nil f)) |
| 371 | (directory-files-recursively dir "\\`[^\\.].*\\.el\\'")) | 371 | (directory-files-recursively dir "\\`[^\\.].*\\.el\\'")) |
| 372 | (require 'macro-builtin) | 372 | (require 'macro-builtin) |
| 373 | (should (member (expand-file-name "macro-builtin-aux.elc" dir) | 373 | (should (member (expand-file-name "macro-builtin-aux.elc" dir) |
| @@ -382,7 +382,7 @@ but with a different end of line convention (bug#48137)." | |||
| 382 | (should (equal (macro-builtin-10-and-90) '(10 90)))) | 382 | (should (equal (macro-builtin-10-and-90) '(10 90)))) |
| 383 | (mapc #'delete-file | 383 | (mapc #'delete-file |
| 384 | (directory-files-recursively dir "\\`[^\\.].*\\.elc\\'")) | 384 | (directory-files-recursively dir "\\`[^\\.].*\\.elc\\'")) |
| 385 | (mapc (lambda (f) (rename-file f (file-name-sans-extension f))) | 385 | (mapc (lambda (f) (call-process "gunzip" nil nil nil f)) |
| 386 | (directory-files-recursively dir "\\`[^\\.].*\\.el.gz\\'")))))) | 386 | (directory-files-recursively dir "\\`[^\\.].*\\.el.gz\\'")))))) |
| 387 | 387 | ||
| 388 | (ert-deftest package-test-install-two-dependencies () | 388 | (ert-deftest package-test-install-two-dependencies () |