lanking520 commented on a change in pull request #13046: [MXNET-1155] Add scala packageTest utility URL: https://github.com/apache/incubator-mxnet/pull/13046#discussion_r238018516
########## File path: scala-package/packageTest/README.md ########## @@ -0,0 +1,50 @@ +# MXNet Scala Package Test + +This is an project created to run the test suite on a fully packaged mxnet jar. + +## Setup + +### Install Package + +To run the test suite, first install the package. This can be done either by installing directly from a jar with `mvn install:install-file -Dfile=<path-to-file>` or by running `make scalainstall` in the main mxnet folder. Note that if you use `mvn install:install-file`, you will be unable to run the example tests unless you also install the mxnetexamples jar. You can run all tests except for those examples with `make scalaintegrationtestwithoutexamples`. + +### Build + +Build the mxnet tests by running `make scalapkg` and then `make scalatestcompile` from the main mxnet directory. This is needed for test discovery. + +## Run + +To run, ensure the versions are correct in the `Makefile`. Then, just run `make scalaintegrationtest` to execute the test suite + Review comment: Please add more information about the `Makefile` for test packages, about the usages of the build stages. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
