diff options
author | Holger Freyther <zecke@selfish.org> | 2005-07-23 21:23:03 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-23 21:23:03 +0000 |
commit | 46d0f40c18ca6690faa48e6c5a164da917694a8c (patch) | |
tree | 4db5cc42337ecc346890c6a556d3581fa94a17b5 | |
parent | 738a1c74e4b2b019ce0547bac017f74a99e2a3de (diff) |
classes/tinderclient.bbclass:
-setting and reading make.cfg can not work
conf/tinder.conf:
-set TINDER_START there for now...
-rw-r--r-- | classes/tinderclient.bbclass | 3 | ||||
-rw-r--r-- | conf/tinder.conf | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass index a4aabbdf76..cf375282c6 100644 --- a/classes/tinderclient.bbclass +++ b/classes/tinderclient.bbclass @@ -7,7 +7,7 @@ def base_prepare_mail_header(data, status): import bb str = "tinderbox: administrator: %s\n" % bb.data.getVar('TINDER_ADMIN', data, True) - str += "tinderbox: starttime: %s\n" % bb.data.getVar('TINDER_START', bb.make.cfg, True) + str += "tinderbox: starttime: %s\n" % bb.data.getVar('TINDER_START', data, True) str += "tinderbox: buildname: %s\n" % bb.data.getVar('TINDER_BUILD', data, True) str += "tinderbox: errorparser: %s\n" % bb.data.getVar('TINDER_ERROR', data, True) str += "tinderbox: status: %s\n" % status @@ -36,7 +36,6 @@ def base_do_tinder_report(event): # Check what we need to do Build* shows we start or are done if name == "BuildStarted": - data.setVar('TINDER_START', base_tinder_time(), event.data) header = base_prepare_mail_header(event.data, 'building') # generate for var in os.environ: diff --git a/conf/tinder.conf b/conf/tinder.conf index 9ed63e4828..00cb7fa5db 100644 --- a/conf/tinder.conf +++ b/conf/tinder.conf @@ -4,7 +4,7 @@ INHERIT += "tinderclient" #TINDER_ADMIN = "you@yourhost" #Name of the client -#TINDER_BUILDNAME = "Tinder Client Test/NameOfClient" +#TINDER_BUILD = "Tinder Client Test/NameOfClient" #What error parser to use #TINDER_ERROR = "unix" @@ -18,3 +18,5 @@ INHERIT += "tinderclient" #TINDER_FROM = "you@yourhost" #TINDER_REPORT = "1" +TINDER_START := "${@time.strftime('%m/%d/%Y %H:%M:%S', time.localtime())}" + |