* tests/cedet/semantic/stltest.el:
* tests/cedet/semantic/utest-parse.el:
* tests/cedet/srecode/fields-utest.el:
* tests/cedet/srecode/test-getset.el:
* tests/cedet/srecode/test.el:
* tests/eieio/eieio-test-persist.el: Make all those tests use
`make-temp-name' for their test files, so that tests can run in
parallel.
;;; Master Harness
;;
-(defvar srecode-utest-getset-testfile "/tmp/srecode-utest-getset.cpp"
+(defvar srecode-utest-getset-testfile
+ (expand-file-name
+ (concat (make-temp-name "srecode-utest-getset-") ".cpp")
+ temporary-file-directory)
"File used to do testing.")
;;;###autoload
(re-search-forward "miscFunction" pos))
))
+ (when (file-exists-p srecode-utest-getset-testfile)
+ (delete-file srecode-utest-getset-testfile))
(cedet-utest-log-shutdown
"SRECODE Get/Set"
nil ; How to detect a problem?