From f23423f322a99144efb04fee994408f2570fb80f Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 21 May 2014 21:16:37 -0400 Subject: [PATCH] Remove some stray test tempfiles * test/automated/bytecomp-tests.el (test-byte-comp-compile-and-load): Avoid leaving empty .elc tempfiles behind. --- test/ChangeLog | 3 +++ test/automated/bytecomp-tests.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/ChangeLog b/test/ChangeLog index d5756350482..d42c0174a2c 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,5 +1,8 @@ 2014-05-22 Glenn Morris + * automated/bytecomp-tests.el (test-byte-comp-compile-and-load): + Avoid leaving empty .elc tempfiles behind. + * automated/fns-tests.el (fns-tests-nreverse): Update for changed string behavior. diff --git a/test/automated/bytecomp-tests.el b/test/automated/bytecomp-tests.el index a7fbdbe2e7f..c109a12c468 100644 --- a/test/automated/bytecomp-tests.el +++ b/test/automated/bytecomp-tests.el @@ -312,7 +312,7 @@ Subtests signal errors if something goes wrong." (progn (setf elfile (make-temp-file "test-bytecomp" nil ".el")) (when compile - (setf elcfile (make-temp-file "test-bytecomp" nil ".elc"))) + (setf elcfile (concat elfile "c"))) (with-temp-buffer (dolist (form forms) (print form (current-buffer))) -- 2.39.2