Update of /cvsroot/monetdb/MonetDB/src/testing
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28778
Modified Files:
Tag: MonetDB_1-20
Mtest.py.in
Log Message:
Don't keep adding extensions.
Index: Mtest.py.in
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/testing/Mtest.py.in,v
retrieving revision 1.309.2.1
retrieving revision 1.309.2.2
diff -u -d -r1.309.2.1 -r1.309.2.2
--- Mtest.py.in 21 Sep 2007 08:23:58 -0000 1.309.2.1
+++ Mtest.py.in 2 Oct 2007 14:29:43 -0000 1.309.2.2
@@ -1100,9 +1100,7 @@
for ext in ".exe", ".com", ".bat", ".cmd":
if TST.lower().endswith(ext):
ext = ''
- else:
- TST = TST + ext
- if os.path.isfile(TST) or os.path.isfile(TST+".src"):
+ if os.path.isfile(TST+ext) or os.path.isfile(TST+ext+".src"):
return [ 1, ext ]
elif os.name == "posix":
#TODO:
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins