[oe-commits] [openembedded-core] 05/49: oe-selftest: simplifying log filenames

git at git.openembedded.org git at git.openembedded.org
Thu Jul 28 20:55:58 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e7b2362d723b5dcabb440cd513380bfe8a0badb2
Author: Benjamin Esquivel <benjamin.esquivel at linux.intel.com>
AuthorDate: Thu Jul 21 12:02:06 2016 +0000

    oe-selftest: simplifying log filenames
    
    avoiding characters like ':' and making a clearer separation of the
    fields that compose the filename. Changing from:
    
    oe-selftest-2016-07-20_16:05:27.log
    
    to:
    
    oe-selftest-20160720-160527.log
    
    Signed-off-by: Benjamin Esquivel <benjamin.esquivel at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 scripts/oe-selftest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 3188a41..72bf4dd 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -57,7 +57,7 @@ except ImportError:
     from unittest import TextTestResult as TestResult
     from unittest import TextTestRunner as _TestRunner
 
-log_prefix = "oe-selftest-" + t.strftime("%Y-%m-%d_%H:%M:%S")
+log_prefix = "oe-selftest-" + t.strftime("%Y%m%d-%H%M%S")
 
 def logger_create():
     log_file = log_prefix + ".log"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list