emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/merge-cedet-tests cc6e417 123/316: Improve test ut


From: Edward John Steere
Subject: [Emacs-diffs] scratch/merge-cedet-tests cc6e417 123/316: Improve test utilities re complation and deletion
Date: Sat, 28 Jan 2017 09:09:53 +0000 (UTC)

branch: scratch/merge-cedet-tests
commit cc6e41763b7ef42d9d78c81359fad53bfdead85e
Author: David Engster <address@hidden>
Commit: Edward John Steere <address@hidden>

    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 1365666..a55e6ee 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]