diff options
author | Glenn Morris <[email protected]> | 2014-05-21 21:16:37 -0400 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2014-05-21 21:16:37 -0400 |
commit | f23423f322a99144efb04fee994408f2570fb80f (patch) | |
tree | 505da0e4ca66fbfbf3326abe46cf4a0317a569a7 /test | |
parent | a7517f0fdec7aa1172f9bb41a9d61cf1b02b286d (diff) |
Remove some stray test tempfiles
* test/automated/bytecomp-tests.el (test-byte-comp-compile-and-load):
Avoid leaving empty .elc tempfiles behind.
Diffstat (limited to 'test')
-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 d575635048..d42c0174a2 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,5 +1,8 @@ 2014-05-22 Glenn Morris <[email protected]> + * 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 a7fbdbe2e7..c109a12c46 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))) |