From: Michal Sojka Date: Wed, 5 Feb 2014 21:22:16 +0000 (+0100) Subject: Preliminary version of graph generator X-Git-Tag: fix-allnoconfig~30 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/d9fcff2b1bf6f83198e2450d66199f979aadc49f?ds=sidebyside Preliminary version of graph generator --- diff --git a/continuous/steps/00-id b/continuous/steps/00-id new file mode 100755 index 0000000..fe78275 --- /dev/null +++ b/continuous/steps/00-id @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e + +echo "! Date: $(date +'%F %R:%S') ok" + diff --git a/continuous/www/wvperf2html.py b/continuous/www/wvperf2html.py index b690f63..0fed0ed 100755 --- a/continuous/www/wvperf2html.py +++ b/continuous/www/wvperf2html.py @@ -22,7 +22,7 @@ import json re_prefix = "\([0-9]+\) (?:# )?" -re_date = re.compile('^Date: (.*)') +re_date = re.compile('^! Date: (.*) ok') re_testing = re.compile('^('+re_prefix+')?\s*Testing "(.*)" in (.*):\s*$') re_commit = re.compile('.*(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}).*, commit: (.*)') re_commithash = re.compile('([0-9a-f]{7})(-dirty)? \(') @@ -207,7 +207,7 @@ for line in sys.stdin: match = re_date.match(line) if (match): - date = time.strptime(match.group(1), "%a, %d %b %Y %H:%M:%S +0200") + date = time.strptime(match.group(1), "%Y-%m-%d %H:%M:%S") continue match = re_testing.match(line)