Repository: incubator-systemml Updated Branches: refs/heads/master 9dad2fe8b -> 3f0c12ece
[SYSTEMML-1440] Automate Release Artifact verification Updated Python3/Python2 test cases. Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/3f0c12ec Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/3f0c12ec Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/3f0c12ec Branch: refs/heads/master Commit: 3f0c12ecedcee3cb97d30ab54f421e7c523cd9e0 Parents: 9dad2fe Author: Arvind Surve <[email protected]> Authored: Tue May 30 00:27:47 2017 -0700 Committer: Arvind Surve <[email protected]> Committed: Tue May 30 00:27:48 2017 -0700 ---------------------------------------------------------------------- dev/release/src/test/bin/verifyBuild.sh | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/3f0c12ec/dev/release/src/test/bin/verifyBuild.sh ---------------------------------------------------------------------- diff --git a/dev/release/src/test/bin/verifyBuild.sh b/dev/release/src/test/bin/verifyBuild.sh index 22ebd0e..b88b0c6 100755 --- a/dev/release/src/test/bin/verifyBuild.sh +++ b/dev/release/src/test/bin/verifyBuild.sh @@ -180,6 +180,10 @@ runCommand "$SPARK_HOME/bin/spark-submit target/release/incubator-systemml/src/m runCommand "$SPARK_HOME/bin/spark-submit target/release/incubator-systemml/src/main/python/tests/test_mllearn_df.py" runCommand "$SPARK_HOME/bin/spark-submit target/release/incubator-systemml/src/main/python/tests/test_mllearn_numpy.py" +# Specifying python2 to be used +runCommand "PYSPARK_PYTHON=python2 spark-submit --master local[*] target/release/incubator-systemml/src/main/python/tests/test_mlcontext.py" +# Specifying python3 to be used +runCommand "PYSPARK_PYTHON=python3 spark-submit --master local[*] target/release/incubator-systemml/src/main/python/tests/test_mlcontext.py" echo "`date +%Y-%m-%dT%H:%M:%S`: INFO: Verification of binary files completed successfully." # echo "================================================================================"
