Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 0b9b726cd -> 9ba333a42


[TRAFODION-1929] Set correct working dir for phx dependency builds

Per the Jira, the testing environment now invokes the test script in
the trafodion user environment, but that also has the side effect of
making the current directory as trafodion home directory.

The test script already calculates the path where it was invoked,
so changing directory there makes the dependent builds work.


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/3f7f60ab
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/3f7f60ab
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/3f7f60ab

Branch: refs/heads/master
Commit: 3f7f60ab1c6e6fed428492d937d05a728a8744ec
Parents: 0b9b726
Author: Steve Varnau <[email protected]>
Authored: Thu Apr 14 00:19:41 2016 +0000
Committer: Steve Varnau <[email protected]>
Committed: Thu Apr 14 00:19:41 2016 +0000

----------------------------------------------------------------------
 tests/phx/phoenix_test.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/3f7f60ab/tests/phx/phoenix_test.py
----------------------------------------------------------------------
diff --git a/tests/phx/phoenix_test.py b/tests/phx/phoenix_test.py
index 392848e..e7a5ff2 100755
--- a/tests/phx/phoenix_test.py
+++ b/tests/phx/phoenix_test.py
@@ -746,6 +746,8 @@ gvars.my_MVN_ERROR_FILE = None
 
 prog_parse_args()
 
+os.chdir(gvars.my_ROOT)
+
 # check to make sure executables mvn and javac are in the PATH
 if spawn.find_executable("mvn") is None:
     print "ERROR: Could not find the Maven executable \'mvn\' in the PATH! \n"

Reply via email to