-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-20877][SPARKR] refactor tests to basic tests only for CRAN #18264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #77884 has finished for PR 18264 at commit
|
|
everything passed, verified all tests are run on Jenkins/AppVeyor |
|
separate issue: though I see that in the policy we could request to skip building vignettes |
|
merged to master/2.2 |
## What changes were proposed in this pull request? Move all existing tests to non-installed directory so that it will never run by installing SparkR package For a follow-up PR: - remove all skip_on_cran() calls in tests - clean up test timer - improve or change basic tests that do run on CRAN (if anyone has suggestion) It looks like `R CMD build pkg` will still put pkg\tests (ie. the full tests) into the source package but `R CMD INSTALL` on such source package does not install these tests (and so `R CMD check` does not run them) ## How was this patch tested? - [x] unit tests, Jenkins - [x] AppVeyor - [x] make a source package, install it, `R CMD check` it - verify the full tests are not installed or run Author: Felix Cheung <[email protected]> Closes #18264 from felixcheung/rtestset. (cherry picked from commit dc4c351) Signed-off-by: Felix Cheung <[email protected]>
## What changes were proposed in this pull request? Fix test file path. This is broken in #18264 and undetected since R-only changes don't build core and subsequent post-commit with the change built fine (again because it wasn't building core) actually appveyor builds everything but it's not running scala suites ... ## How was this patch tested? jenkins srowen gatorsmile Author: Felix Cheung <[email protected]> Closes #18283 from felixcheung/rsubmitsuite. (cherry picked from commit 278ba7a) Signed-off-by: Felix Cheung <[email protected]>
## What changes were proposed in this pull request? Fix test file path. This is broken in #18264 and undetected since R-only changes don't build core and subsequent post-commit with the change built fine (again because it wasn't building core) actually appveyor builds everything but it's not running scala suites ... ## How was this patch tested? jenkins srowen gatorsmile Author: Felix Cheung <[email protected]> Closes #18283 from felixcheung/rsubmitsuite.
## What changes were proposed in this pull request? Move all existing tests to non-installed directory so that it will never run by installing SparkR package For a follow-up PR: - remove all skip_on_cran() calls in tests - clean up test timer - improve or change basic tests that do run on CRAN (if anyone has suggestion) It looks like `R CMD build pkg` will still put pkg\tests (ie. the full tests) into the source package but `R CMD INSTALL` on such source package does not install these tests (and so `R CMD check` does not run them) ## How was this patch tested? - [x] unit tests, Jenkins - [x] AppVeyor - [x] make a source package, install it, `R CMD check` it - verify the full tests are not installed or run Author: Felix Cheung <[email protected]> Closes apache#18264 from felixcheung/rtestset.
## What changes were proposed in this pull request? Fix test file path. This is broken in apache#18264 and undetected since R-only changes don't build core and subsequent post-commit with the change built fine (again because it wasn't building core) actually appveyor builds everything but it's not running scala suites ... ## How was this patch tested? jenkins srowen gatorsmile Author: Felix Cheung <[email protected]> Closes apache#18283 from felixcheung/rsubmitsuite.
## What changes were proposed in this pull request? Fix test file path. This is broken in apache#18264 and undetected since R-only changes don't build core and subsequent post-commit with the change built fine (again because it wasn't building core) actually appveyor builds everything but it's not running scala suites ... ## How was this patch tested? jenkins srowen gatorsmile Author: Felix Cheung <[email protected]> Closes apache#18283 from felixcheung/rsubmitsuite. (cherry picked from commit 278ba7a) Signed-off-by: Felix Cheung <[email protected]>
What changes were proposed in this pull request?
Move all existing tests to non-installed directory so that it will never run by installing SparkR package
For a follow-up PR:
It looks like
R CMD build pkgwill still put pkg\tests (ie. the full tests) into the source package butR CMD INSTALLon such source package does not install these tests (and soR CMD checkdoes not run them)How was this patch tested?
R CMD checkit - verify the full tests are not installed or run