aboutsummaryrefslogtreecommitdiff
path: root/dev/run-tests
diff options
context:
space:
mode:
Diffstat (limited to 'dev/run-tests')
-rwxr-xr-xdev/run-tests15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev/run-tests b/dev/run-tests
index 561d7fc9e7..1b6cf78b5d 100755
--- a/dev/run-tests
+++ b/dev/run-tests
@@ -236,3 +236,18 @@ echo "========================================================================="
CURRENT_BLOCK=$BLOCK_PYSPARK_UNIT_TESTS
./python/run-tests
+
+echo ""
+echo "========================================================================="
+echo "Running SparkR tests"
+echo "========================================================================="
+
+CURRENT_BLOCK=$BLOCK_SPARKR_UNIT_TESTS
+
+if [ $(command -v R) ]; then
+ ./R/install-dev.sh
+ ./R/run-tests.sh
+else
+ echo "Ignoring SparkR tests as R was not found in PATH"
+fi
+