aboutsummaryrefslogtreecommitdiff
path: root/tools/jenkins/make_test_output.py
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2016-03-03 17:04:36 -0800
committerJosh Haberman <jhaberman@gmail.com>2016-03-03 17:05:36 -0800
commit2bda98f79ca9f43091d2033cf02c9732a0515a7a (patch)
tree03efdae9d7224df721ed253937d6e1d9953c25c8 /tools/jenkins/make_test_output.py
parent1ee0fda556b252944e7dd140ad0cd7b8949eb496 (diff)
downloadprotobuf-2bda98f79ca9f43091d2033cf02c9732a0515a7a.tar.gz
protobuf-2bda98f79ca9f43091d2033cf02c9732a0515a7a.tar.bz2
protobuf-2bda98f79ca9f43091d2033cf02c9732a0515a7a.zip
Properly report C++ build time.
Diffstat (limited to 'tools/jenkins/make_test_output.py')
-rw-r--r--tools/jenkins/make_test_output.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/jenkins/make_test_output.py b/tools/jenkins/make_test_output.py
index 0ba5db3b..986d1979 100644
--- a/tools/jenkins/make_test_output.py
+++ b/tools/jenkins/make_test_output.py
@@ -58,8 +58,8 @@ def readtests(basedir):
# up in the job log.
tests["cpp"]["name"] = "cpp"
- # TODO
- tests["cpp"]["time"] = "0"
+ with open(basedir + '/logs/1/cpp/build_time', 'r') as f:
+ tests["cpp"]["time"] = f.read().strip()
tests["cpp"]["failure"] = False
ret = tests.values()