bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43359: package-tests leave temporary files behind


From: Lars Ingebrigtsen
Subject: bug#43359: package-tests leave temporary files behind
Date: Fri, 23 Oct 2020 12:51:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Kangas <stefan@marxist.se> writes:

> The alternative, I guess is something like:

[...]

> +       (when ,upload-base
> +         (dolist (f '("archive-contents"
> +                      "simple-single-1.3.el"
> +                      "simple-single-1.4.el"
> +                      "simple-single-readme.txt"))
> +           (ignore-errors
> +             (delete-file
> +              (expand-file-name f package-test-archive-upload-base))))
> +         (delete-directory package-test-archive-upload-base))
>         (when (file-directory-p package-test-user-dir)
>           (delete-directory package-test-user-dir t))
>
> But I don't think it's worth it...

If that cleans out all the left-behind files/directories, I'd prefer
that instead of the recursive deletion.  So go ahead and push.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]