]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove some stray test tempfiles
authorGlenn Morris <rgm@gnu.org>
Thu, 22 May 2014 01:16:37 +0000 (21:16 -0400)
committerGlenn Morris <rgm@gnu.org>
Thu, 22 May 2014 01:16:37 +0000 (21:16 -0400)
* test/automated/bytecomp-tests.el (test-byte-comp-compile-and-load):
Avoid leaving empty .elc tempfiles behind.

test/ChangeLog
test/automated/bytecomp-tests.el

index d5756350482d27701cf73ec639b9ec0ac9343d92..d42c0174a2cc27f2bc6d5cef66c7893b775fd876 100644 (file)
@@ -1,5 +1,8 @@
 2014-05-22  Glenn Morris  <rgm@gnu.org>
 
+       * 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.
 
index a7fbdbe2e7feb893f4604563010707974259bedb..c109a12c468ba05c65beb39a1505fb3e4ee2ea3a 100644 (file)
@@ -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)))