[Lldb-commits] [lldb] r117556 - /lldb/trunk/test/dotest.py
Johnny Chen
johnny.chen at apple.com
Thu Oct 28 09:32:13 PDT 2010
Author: johnny
Date: Thu Oct 28 11:32:13 2010
New Revision: 117556
URL: http://llvm.org/viewvc/llvm-project?rev=117556&view=rev
Log:
Fix the test driver as part of the fix for http://llvm.org/bugs/show_bug.cgi?id=8493
File name "2010-10-19-14:10:49.059609" is non-portable.
Do not use ':' in the pathname as it is not permitted on windows platforms.
Modified:
lldb/trunk/test/dotest.py
Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=117556&r1=117555&r2=117556&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Thu Oct 28 11:32:13 2010
@@ -565,7 +565,7 @@
# See also TestBase.dumpSessionInfo() in lldbtest.py.
if not sdir_name:
import datetime
- timestamp = datetime.datetime.now().strftime("%Y-%m-%d_%H:%M:%S")
+ timestamp = datetime.datetime.now().strftime("%Y-%m-%d-%H_%M_%S")
sdir_name = timestamp
os.environ["LLDB_SESSION_DIRNAME"] = sdir_name
sys.stderr.write("\nSession info for test failures/errors will go into directory '%s'\n" % sdir_name)
More information about the lldb-commits
mailing list