aboutsummaryrefslogtreecommitdiff
path: root/python/run-tests
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@eecs.berkeley.edu>2013-01-01 21:25:49 -0800
committerJosh Rosen <joshrosen@eecs.berkeley.edu>2013-01-01 21:25:49 -0800
commitce9f1bbe20eff794cd1d588dc88f109d32588cfe (patch)
treeff840eea62e8314dc4cefcaa08534c4b21e544ba /python/run-tests
parentb58340dbd9a741331fc4c3829b08c093560056c2 (diff)
downloadspark-ce9f1bbe20eff794cd1d588dc88f109d32588cfe.tar.gz
spark-ce9f1bbe20eff794cd1d588dc88f109d32588cfe.tar.bz2
spark-ce9f1bbe20eff794cd1d588dc88f109d32588cfe.zip
Add `pyspark` script to replace the other scripts.
Expand the PySpark programming guide.
Diffstat (limited to 'python/run-tests')
-rwxr-xr-xpython/run-tests9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/run-tests b/python/run-tests
new file mode 100755
index 0000000000..da9e24cb1f
--- /dev/null
+++ b/python/run-tests
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+# Figure out where the Scala framework is installed
+FWDIR="$(cd `dirname $0`; cd ../; pwd)"
+
+$FWDIR/pyspark pyspark/rdd.py
+$FWDIR/pyspark -m doctest pyspark/broadcast.py
+
+# TODO: in the long-run, it would be nice to use a test runner like `nose`.