summaryrefslogtreecommitdiffstats
path: root/scripts/oe-selftest
diff options
context:
space:
mode:
authorBenjamin Esquivel <benjamin.esquivel@linux.intel.com>2016-07-21 12:02:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-28 21:30:16 +0100
commite7b2362d723b5dcabb440cd513380bfe8a0badb2 (patch)
treeaaae97ef69e322ea894b466fc86875e682bc1f38 /scripts/oe-selftest
parentd51f9dd34d759c77b9e7050405cbb6a88a578f73 (diff)
downloadopenembedded-core-e7b2362d723b5dcabb440cd513380bfe8a0badb2.tar.gz
openembedded-core-e7b2362d723b5dcabb440cd513380bfe8a0badb2.tar.bz2
openembedded-core-e7b2362d723b5dcabb440cd513380bfe8a0badb2.zip
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@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/oe-selftest')
-rwxr-xr-xscripts/oe-selftest2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 3188a410cb..72bf4dda6a 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"