[llvm-commits] CVS: llvm/test/QMTest/llvmdb.py

John Criswell criswell at cs.uiuc.edu
Fri Oct 3 16:04:01 PDT 2003


Changes in directory llvm/test/QMTest:

llvmdb.py updated: 1.3 -> 1.4

---
Log message:

Fixed some minor problems with method used by the QMTest GUI.
Specifically, added initialization code and code to skip files found in
the llvm/test directory.


---
Diffs of the changes:

Index: llvm/test/QMTest/llvmdb.py
diff -u llvm/test/QMTest/llvmdb.py:1.3 llvm/test/QMTest/llvmdb.py:1.4
--- llvm/test/QMTest/llvmdb.py:1.3	Fri Oct  3 15:51:17 2003
+++ llvm/test/QMTest/llvmdb.py	Fri Oct  3 16:03:05 2003
@@ -275,6 +275,7 @@
 		#
 		# Convert all of the directories into labels.
 		#
+		dirlabels = []
 		for path in dirs:
 			if (directory == ''):
 				dirlabels = dirlabels + [path]
@@ -285,9 +286,10 @@
 		#
 		# Convert all of the file names into labels.
 		#
+		filelabels = []
 		for path in files:
 			if (directory == ''):
-				filelabels = filelabels + [path]
+				continue
 			else:
 				(filebase, fileext) = os.path.splitext(path)
 				if (fileext == '.tr'):





More information about the llvm-commits mailing list