You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by da...@apache.org on 2018/04/02 19:21:47 UTC
[trafficserver] branch master updated: adds a hint if layout found
under /bin
This is an automated email from the ASF dual-hosted git repository.
dagit 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 1d10472 adds a hint if layout found under /bin
1d10472 is described below
commit 1d1047271e47c5bd4f6ae1a6ba11e039a6678be1
Author: Derek Dagit <de...@oath.com>
AuthorDate: Wed Mar 28 10:32:13 2018 -0500
adds a hint if layout found under /bin
---
tests/gold_tests/autest-site/setup.cli.ext | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/gold_tests/autest-site/setup.cli.ext b/tests/gold_tests/autest-site/setup.cli.ext
index 7fe26f7..25baedc 100644
--- a/tests/gold_tests/autest-site/setup.cli.ext
+++ b/tests/gold_tests/autest-site/setup.cli.ext
@@ -33,7 +33,11 @@ if ENV['ATS_BIN'] is not None:
# setting up data from traffic_layout
# this is getting layout structure
if not os.path.isfile(traffic_layout):
- host.WriteError("traffic_layout is not found. Aborting tests - Bad build or install.", show_stack=False)
+ hint = ''
+ if os.path.isfile(os.path.join(ENV['ATS_BIN'], 'bin', 'traffic_layout')):
+ hint = "\nDid you mean '--ats-bin {}'?".\
+ format(os.path.join(ENV['ATS_BIN'],'bin'))
+ host.WriteError("traffic_layout is not found. Aborting tests - Bad build or install.{}".format(hint), show_stack=False)
try:
out = subprocess.check_output([traffic_layout, "--json"])
except subprocess.CalledProcessError:
--
To stop receiving notification emails like this one, please contact
dagit@apache.org.