changeset 2073:65dae79be48b

[xemacs-hg @ 2004-05-12 06:16:14 by stephent] improve tag tests <87isf2xjcw.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Wed, 12 May 2004 06:16:20 +0000
parents 508d36502f33
children 6b474cf582aa
files tests/ChangeLog tests/automated/tag-tests.el
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/ChangeLog	Tue May 11 21:50:29 2004 +0000
+++ b/tests/ChangeLog	Wed May 12 06:16:20 2004 +0000
@@ -1,3 +1,8 @@
+2004-05-11  Vin Shelton  <acs@xemacs.org>
+
+	* automated/tag-test.el: Use a temp directory to avoid conflicts
+	with extra TAGS files.
+
 2004-05-08  Vin Shelton  <acs@xemacs.org>
 
 	* automated/tag-test.el: Created.
--- a/tests/automated/tag-tests.el	Tue May 11 21:50:29 2004 +0000
+++ b/tests/automated/tag-tests.el	Wed May 12 06:16:20 2004 +0000
@@ -26,11 +26,14 @@
 
 ;;; Commentary:
 
-;; Test tag completion.
+;; Test tag support.
 ;; See test-harness.el for instructions on how to run these tests.
 
 (let ((testfile "tag-test.c")
-      (tagfile "TAGS"))
+      (tagfile "TAGS")
+      (tags-build-completion-table nil))
+
+  (cd (temp-directory))
 
   ;; Create a TAGS file
   (with-temp-file tagfile