From: Glenn Morris Date: Thu, 22 May 2014 01:16:37 +0000 (-0400) Subject: Remove some stray test tempfiles X-Git-Tag: emacs-25.0.90~2612^2~709^2~903 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f23423f322a99144efb04fee994408f2570fb80f;p=emacs.git Remove some stray test tempfiles * test/automated/bytecomp-tests.el (test-byte-comp-compile-and-load): Avoid leaving empty .elc tempfiles behind. --- 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)))