Repository: incubator-reef Updated Branches: refs/heads/master bcc6de542 -> e853d5562
[REEF-149]: Fix a path in the scripts for running reef-tests on YARN/Mesos Fixes the path of DEPENDENCY_JAR to reflect the changes in the directory structure JIRA: [REEF-149] https://issues.apache.org/jira/browse/REEF-149 Pull Request: This closes #74 Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/e853d556 Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/e853d556 Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/e853d556 Branch: refs/heads/master Commit: e853d5562118f3f570cdfaa2d51f2cab4187c662 Parents: bcc6de5 Author: John Yang <[email protected]> Authored: Tue Feb 10 19:25:53 2015 +0900 Committer: Markus Weimer <[email protected]> Committed: Thu Feb 12 14:19:17 2015 -0800 ---------------------------------------------------------------------- bin/runmesostests.sh | 2 +- bin/runyarntests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/e853d556/bin/runmesostests.sh ---------------------------------------------------------------------- diff --git a/bin/runmesostests.sh b/bin/runmesostests.sh index 350995d..6b52c68 100755 --- a/bin/runmesostests.sh +++ b/bin/runmesostests.sh @@ -26,7 +26,7 @@ fi export REEF_TEST_MESOS=true export REEF_TEST_MESOS_MASTER_IP=$1 -DEPENDENCY_JAR=`echo $REEF_HOME/reef-tests/target/reef-tests-*-test-jar-with-dependencies.jar` +DEPENDENCY_JAR=`echo $REEF_HOME/lang/java/reef-tests/target/reef-tests-*-test-jar-with-dependencies.jar` CLASSPATH=`hadoop classpath` CMD="java -cp $DEPENDENCY_JAR:$CLASSPATH org.junit.runner.JUnitCore org.apache.reef.tests.AllTestsSuite" http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/e853d556/bin/runyarntests.sh ---------------------------------------------------------------------- diff --git a/bin/runyarntests.sh b/bin/runyarntests.sh index 3df6ea7..54674e7 100755 --- a/bin/runyarntests.sh +++ b/bin/runyarntests.sh @@ -19,7 +19,7 @@ # export REEF_TEST_YARN=true -DEPENDENCY_JAR=`echo $REEF_HOME/reef-tests/target/reef-tests-*-test-jar-with-dependencies.jar` +DEPENDENCY_JAR=`echo $REEF_HOME/lang/java/reef-tests/target/reef-tests-*-test-jar-with-dependencies.jar` CLASSPATH=`yarn classpath` CMD="java -cp $YARN_CONF_DIR:$DEPENDENCY_JAR:$CLASSPATH org.junit.runner.JUnitCore org.apache.reef.tests.AllTestsSuite $*"
