aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2014-05-21 21:16:37 -0400
committerGlenn Morris <[email protected]>2014-05-21 21:16:37 -0400
commitf23423f322a99144efb04fee994408f2570fb80f (patch)
tree505da0e4ca66fbfbf3326abe46cf4a0317a569a7 /test
parenta7517f0fdec7aa1172f9bb41a9d61cf1b02b286d (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/ChangeLog3
-rw-r--r--test/automated/bytecomp-tests.el2
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)))