diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-07-28 23:39:27 -0400 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-07-29 02:51:43 -0400 |
commit | 96b50e82dc0db501ab94748a23ae3237f1d82034 (patch) | |
tree | d501b66514870a1f51910a3ace388e911277b6aa /python | |
parent | b5ec35562210c8e7ca4fea07a0d46cb255988c0d (diff) | |
download | spark-96b50e82dc0db501ab94748a23ae3237f1d82034.tar.gz spark-96b50e82dc0db501ab94748a23ae3237f1d82034.tar.bz2 spark-96b50e82dc0db501ab94748a23ae3237f1d82034.zip |
Allow python/run-tests to run from any directory
Diffstat (limited to 'python')
-rwxr-xr-x | python/run-tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/run-tests b/python/run-tests index 1ee947d414..6643faa2e0 100755 --- a/python/run-tests +++ b/python/run-tests @@ -21,6 +21,9 @@ # Figure out where the Spark framework is installed FWDIR="$(cd `dirname $0`; cd ../; pwd)" +# CD into the python directory to find things on the right path +cd "$FWDIR/python" + FAILED=0 $FWDIR/pyspark pyspark/rdd.py |