From cc6e41763b7ef42d9d78c81359fad53bfdead85e Mon Sep 17 00:00:00 2001 From: David Engster Date: Mon, 4 Nov 2013 23:24:55 +0100 Subject: [PATCH] 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...). --- test/manual/cedet/cedet/semantic/stltest.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.39.2