]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve test utilities re complation and deletion
authorDavid Engster <dengste@eml.cc>
Mon, 4 Nov 2013 22:24:55 +0000 (23:24 +0100)
committerEdward John Steere <edward.steere@gmail.com>
Wed, 25 Jan 2017 15:59:25 +0000 (17:59 +0200)
* 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

index 13656661f9dc5595a253f00f5ec684ce8a4424e7..a55e6ee2e0ebc1eaf66e485dc30bb3124109419e 100644 (file)
 (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))