From: David Engster Date: Mon, 4 Nov 2013 22:24:55 +0000 (+0100) Subject: Improve test utilities re complation and deletion X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cc6e41763b7ef42d9d78c81359fad53bfdead85e;p=emacs.git Improve test utilities re complation and deletion * tests/cedet-integ-test.el (cit-check-compilation-for-error): Use correct format-string. * cedet/semantic/stltest.el: Only delete test file if it exists (which it shouldn't do, but still...). --- diff --git a/test/manual/cedet/cedet/semantic/stltest.el b/test/manual/cedet/cedet/semantic/stltest.el index 13656661f9d..a55e6ee2e0e 100644 --- a/test/manual/cedet/cedet/semantic/stltest.el +++ b/test/manual/cedet/cedet/semantic/stltest.el @@ -106,4 +106,5 @@ (semantic-stltest "map") ;; I know, not a class... (semantic-stltest "iostream") -(delete-file semantic-stltest-filename) +(when (file-exists-p semantic-stltest-filename) + (delete-file semantic-stltest-filename))