You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by dr...@apache.org on 2017/12/14 14:32:34 UTC

[trafficserver] branch master updated: Add information about version of ats being tested

This is an automated email from the ASF dual-hosted git repository.

dragon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new f838db1  Add information about version of ats being tested
f838db1 is described below

commit f838db10622e1ebdffa0114e821f88dc2e676ecb
Author: Jason Kenny <dr...@live.com>
AuthorDate: Wed Dec 13 13:36:59 2017 -0600

    Add information about version of ats being tested
---
 tests/gold_tests/autest-site/setup.cli.ext | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/gold_tests/autest-site/setup.cli.ext b/tests/gold_tests/autest-site/setup.cli.ext
index 5f2fe06..7fe26f7 100644
--- a/tests/gold_tests/autest-site/setup.cli.ext
+++ b/tests/gold_tests/autest-site/setup.cli.ext
@@ -50,6 +50,12 @@ if ENV['ATS_BIN'] is not None:
     Variables.update(out)
     host.WriteVerbose(['ats'], "Traffic server feature data:\n", pprint.pformat(out))
 
+    # update version number 
+    out = subprocess.check_output([traffic_layout, "--version"]) 
+    out = Version(out.decode("utf-8").split("-")[2].strip()) 
+    Variables.trafficserver_version = out
+    host.WriteVerbose(['ats'], "Traffic server version:", out) 
+
     # this querys tsxs for build flags so we can build code for the tests and get certain
     # useful flags as which openssl to use when we don't use the system version
     out = {

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].