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-08-01 11:47:10 +0100
commit2c01447ea693fb30cd1b7b6ac798a43f79c261a6 (patch)
tree7f6245ea3ef1ab5c0e86f4aa7d24ec030f671708 /scripts/oe-selftest
parente91d0d5d1c7e28c5b1272df2b749d92279183d8a (diff)
downloadpoky-2c01447ea693fb30cd1b7b6ac798a43f79c261a6.tar.gz
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 (From OE-Core rev: e7b2362d723b5dcabb440cd513380bfe8a0badb2) Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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:
57 from unittest import TextTestResult as TestResult 57 from unittest import TextTestResult as TestResult
58 from unittest import TextTestRunner as _TestRunner 58 from unittest import TextTestRunner as _TestRunner
59 59
60log_prefix = "oe-selftest-" + t.strftime("%Y-%m-%d_%H:%M:%S") 60log_prefix = "oe-selftest-" + t.strftime("%Y%m%d-%H%M%S")
61 61
62def logger_create(): 62def logger_create():
63 log_file = log_prefix + ".log" 63 log_file = log_prefix + ".log"