You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2019/11/06 21:38:36 UTC
[qpid-dispatch] branch master updated: DISPATCH-1377: install
original .py file as .py.in template
This is an automated email from the ASF dual-hosted git repository.
chug pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/master by this push:
new 2bd5061 DISPATCH-1377: install original .py file as .py.in template
2bd5061 is described below
commit 2bd5061938b5ce5d59e02af6eb5f89c8862362b5
Author: Chuck Rolke <ch...@apache.org>
AuthorDate: Wed Nov 6 16:38:13 2019 -0500
DISPATCH-1377: install original .py file as .py.in template
---
...opology_disposition.py => system_tests_topology_disposition.py.in} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/system_tests_topology_disposition.py b/tests/system_tests_topology_disposition.py.in
similarity index 99%
rename from tests/system_tests_topology_disposition.py
rename to tests/system_tests_topology_disposition.py.in
index 3d8d79e..b41c3ad 100644
--- a/tests/system_tests_topology_disposition.py
+++ b/tests/system_tests_topology_disposition.py.in
@@ -454,7 +454,7 @@ class TopologyDispositionTests ( TestCase ):
files = []
for letter in ['A', 'B', 'C', 'D']:
files.append('../setUpClass/%s.log' % letter)
- p = self.popen(['/usr/bin/env', 'python3', scraper_path, '-f'] + files,
+ p = self.popen(['/usr/bin/env', '${PY_STRING}', scraper_path, '-f'] + files,
stdin=PIPE, stdout=PIPE, stderr=STDOUT,
universal_newlines=True)
out = p.communicate(None)[0]
@@ -470,7 +470,7 @@ class TopologyDispositionTests ( TestCase ):
self.assertTrue( '</body>' in out )
# split A.log
- p = self.popen(['/usr/bin/env', 'python3', scraper_path, '--split', '-f', '../setUpClass/A.log'],
+ p = self.popen(['/usr/bin/env', '${PY_STRING}', scraper_path, '--split', '-f', '../setUpClass/A.log'],
stdin=PIPE, stdout=PIPE, stderr=STDOUT,
universal_newlines=True)
out = p.communicate(None)[0]
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org