aboutsummaryrefslogtreecommitdiff
path: root/dev/run-tests
diff options
context:
space:
mode:
authorPrashant Sharma <prashant.s@imaginea.com>2014-03-24 08:44:12 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-03-24 08:44:20 -0700
commit21109fbab0ded4f73cf4f8816859c76f125adfea (patch)
treebd0df80d2947fff753247684ddf41719be438582 /dev/run-tests
parent80c29689ae3b589254a571da3ddb5f9c866ae534 (diff)
downloadspark-21109fbab0ded4f73cf4f8816859c76f125adfea.tar.gz
spark-21109fbab0ded4f73cf4f8816859c76f125adfea.tar.bz2
spark-21109fbab0ded4f73cf4f8816859c76f125adfea.zip
SPARK-1144 Added license and RAT to check licenses.
Author: Prashant Sharma <prashant.s@imaginea.com> Closes #125 from ScrapCodes/rat-integration and squashes the following commits: 64f7c7d [Prashant Sharma] added license headers. fcf28b1 [Prashant Sharma] Review feedback. c0648db [Prashant Sharma] SPARK-1144 Added license and RAT to check licenses.
Diffstat (limited to 'dev/run-tests')
-rwxr-xr-xdev/run-tests7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev/run-tests b/dev/run-tests
index cf0b940c09..6e78cad995 100755
--- a/dev/run-tests
+++ b/dev/run-tests
@@ -34,8 +34,13 @@ else
fi
JAVA_VERSION=$($java_cmd -version 2>&1 | sed 's/java version "\(.*\)\.\(.*\)\..*"/\1\2/; 1q')
-[ "$JAVA_VERSION" -ge 18 ] && echo "" || echo "[Warn] Java 8 tests will not run, because JDK version is < 1.8."
+[ "$JAVA_VERSION" -ge 18 ] && echo "" || echo "[Warn] Java 8 tests will not run because JDK version is < 1.8."
+echo "========================================================================="
+echo "Running Apache RAT checks"
+echo "========================================================================="
+
+dev/check-license
echo "========================================================================="
echo "Running Scala style checks"