Repository: reef Updated Branches: refs/heads/master 47593a770 -> 0540bf23b
[REEF-1865] Allow runyarntests.sh run individual unit tests JIRA: [REEF-1865](https://issues.apache.org/jira/browse/REEF-1865) Pull Request: Closes #1366 Project: http://git-wip-us.apache.org/repos/asf/reef/repo Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/0540bf23 Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/0540bf23 Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/0540bf23 Branch: refs/heads/master Commit: 0540bf23b79cd445ebd3bc2bf89a3acb5b8ddfc2 Parents: 47593a7 Author: Sergiy Matusevych <[email protected]> Authored: Mon Aug 14 15:57:05 2017 -0700 Committer: Byung-Gon Chun <[email protected]> Committed: Tue Aug 15 10:59:16 2017 +0900 ---------------------------------------------------------------------- bin/runyarntests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/reef/blob/0540bf23/bin/runyarntests.sh ---------------------------------------------------------------------- diff --git a/bin/runyarntests.sh b/bin/runyarntests.sh index 54674e7..64b6095 100755 --- a/bin/runyarntests.sh +++ b/bin/runyarntests.sh @@ -22,6 +22,6 @@ export REEF_TEST_YARN=true 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 $*" +CMD="java -cp $YARN_CONF_DIR:$DEPENDENCY_JAR:$CLASSPATH org.junit.runner.JUnitCore ${*:-org.apache.reef.tests.AllTestsSuite}" echo $CMD $CMD
