Hi, We have a test suite of 5000+ tests but I don't think we have a standard way of testing the distribution artifacts once they are built. I just did some 'hello world' tests of the various distribution artifacts to be sure that I could run a 'hello world' DML script using the various distributions. In case it's helpful to others, here are the various things I did (on OS X).
# build distribution artifacts mvn clean package -P distribution cd target # verify jar works java -cp ./lib/*:systemml-0.10.0-incubating-SNAPSHOT.jar org.apache.sysml.api.DMLScript -s "print('hello world');" # verify SystemML.jar works java -cp ./lib/*:SystemML.jar org.apache.sysml.api.DMLScript -s "print('hello world');" # verify standalone jar works java -jar systemml-0.10.0-incubating-SNAPSHOT-standalone.jar -s "print('hello world');" # verify src works tar -xvzf systemml-0.10.0-incubating-SNAPSHOT-src.tar.gz cd systemml-0.10.0-incubating-SNAPSHOT-src mvn clean package -P distribution cd target/ java -cp ./lib/*:systemml-0.10.0-incubating-SNAPSHOT.jar org.apache.sysml.api.DMLScript -s "print('hello world');" java -cp ./lib/*:SystemML.jar org.apache.sysml.api.DMLScript -s "print('hello world');" java -jar systemml-0.10.0-incubating-SNAPSHOT-standalone.jar -s "print('hello world');" cd .. cd .. # verify in-memory jar works echo "import org.apache.sysml.api.jmlc.*;public class JMLCEx {public static void main(String[] args) throws Exception {Connection conn = new Connection();PreparedScript script = conn.prepareScript(\"print('hello world');\", new String[]{}, new String[]{}, false);script.executeScript();}}" > JMLCEx.java javac -cp systemml-0.10.0-incubating-SNAPSHOT-inmemory.jar JMLCEx.java java -cp .:systemml-0.10.0-incubating-SNAPSHOT-inmemory.jar JMLCEx # verify standalone tar.gz works tar -xvzf systemml-0.10.0-incubating-SNAPSHOT-standalone.tar.gz cd systemml-0.10.0-incubating-SNAPSHOT-standalone echo "print('hello world');" > hello.dml ./runStandaloneSystemML.sh hello.dml cd .. # verify distrib tar.gz works tar -xvzf systemml-0.10.0-incubating-SNAPSHOT.tar.gz cd systemml-0.10.0-incubating-SNAPSHOT java -cp ../lib/*:SystemML.jar org.apache.sysml.api.DMLScript -s "print('hello world');" export SPARK_HOME=/Users/deroneriksson/spark-1.5.1-bin-hadoop2.6 $SPARK_HOME/bin/spark-submit SystemML.jar -s "print('hello world');" -exec hybrid_spark hadoop jar SystemML.jar -s "print('hello world');" cd .. Deron