diff options
author | Benjamin Esquivel <benjamin.esquivel@linux.intel.com> | 2016-07-21 12:02:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-01 11:47:10 +0100 |
commit | 2c01447ea693fb30cd1b7b6ac798a43f79c261a6 (patch) | |
tree | 7f6245ea3ef1ab5c0e86f4aa7d24ec030f671708 | |
parent | e91d0d5d1c7e28c5b1272df2b749d92279183d8a (diff) | |
download | poky-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>
-rwxr-xr-x | scripts/oe-selftest | 2 |
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 | ||
60 | log_prefix = "oe-selftest-" + t.strftime("%Y-%m-%d_%H:%M:%S") | 60 | log_prefix = "oe-selftest-" + t.strftime("%Y%m%d-%H%M%S") |
61 | 61 | ||
62 | def logger_create(): | 62 | def logger_create(): |
63 | log_file = log_prefix + ".log" | 63 | log_file = log_prefix + ".log" |