diff options
-rw-r--r-- | test/ChangeLog | 3 | ||||
-rw-r--r-- | test/automated/bytecomp-tests.el | 2 |
2 files changed, 4 insertions, 1 deletions
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 <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. 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))) |