diff options
| author | Przemysław Kryger | 2026-01-27 11:45:28 +0000 |
|---|---|---|
| committer | Mattias Engdegård | 2026-01-28 18:44:06 +0100 |
| commit | b370a076b92dae176d772ba70894b0f6e963bb1b (patch) | |
| tree | 2959d2619aae4acf54b9be5dc58ad7ed3581ad60 /test/cedet/tests/teststruct.cpp | |
| parent | 43d6907ad9c8fae70d885132a552fe3672f498e8 (diff) | |
| download | emacs-b370a076b92dae176d772ba70894b0f6e963bb1b.tar.gz emacs-b370a076b92dae176d772ba70894b0f6e963bb1b.zip | |
Create package-vc-tests repositories once per tests run (bug#80235)
* test/lisp/emacs-lisp/package-vc-tests.el
(package-vc-tests-repos): New variable.
(package-vc-tests-create-repository): Add argument `repos-dir'.
(package-vc-tests-make-temp-dir): Create a temporary directory
with prefix.
(package-vc-with-tests-environment): Use
`package-vc-tests-make-temp-dir' to create a temporary directory
for package test. Use `package-vc-tests-repos' to cache test
package repository.
(package-vc-tests-preserve-pkg-artifacts-p): Detect when to
preserve package temporary files.
(package-vc-tests-environment-tear-down): Use
`package-vc-tests-preserve-pkg-artifacts-p'. Use plural there
are more than one buffer. Report temporary directory with test
repository.
(package-vc-tests-add-ert-run-tests-listener): Wrap listener in
args with custom functionality for `package-vc-tests'. On tests
run start reset `package-vc-tests-repos' cache. On tests run
end delete temporary directories.
Diffstat (limited to 'test/cedet/tests/teststruct.cpp')
0 files changed, 0 insertions, 0 deletions