aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio C. Barrionuevo da Luz <bnafta@gmail.com>2014-03-11 10:42:20 -0300
committerFabio C. Barrionuevo da Luz <bnafta@gmail.com>2014-03-11 10:42:20 -0300
commitb6a47cc5e7673f50de96ff0ac65989ccc18c5769 (patch)
treee9eb611d0eec13dd2979316e0150af13ac6c416f
parent4fb1f76d15ea609ec77ed8318ef0a6bf75880a9c (diff)
downloaddjango-wkhtmltopdf-b6a47cc5e7673f50de96ff0ac65989ccc18c5769.tar.gz
django-wkhtmltopdf-b6a47cc5e7673f50de96ff0ac65989ccc18c5769.tar.bz2
django-wkhtmltopdf-b6a47cc5e7673f50de96ff0ac65989ccc18c5769.zip
move tests from Makefile to run_tests.sh
-rw-r--r--Makefile2
-rwxr-xr-xrun_tests.sh6
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f7ad668..059771c 100644
--- a/Makefile
+++ b/Makefile
@@ -4,4 +4,4 @@ release:
python setup.py register sdist upload
test:
- PYTHONPATH=.:$$PYTHONPATH; django-admin.py test tests --settings=wkhtmltopdf.test_settings
+ ./run_tests.sh
diff --git a/run_tests.sh b/run_tests.sh
new file mode 100755
index 0000000..1cb1dd5
--- /dev/null
+++ b/run_tests.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+export WKHTMLTOPDF_CMD=`pwd`/wkhtmltox_folder/wkhtmltox/bin/wkhtmltopdf;
+export PYTHONPATH=.:$$PYTHONPATH;
+
+django-admin.py test tests --settings=wkhtmltopdf.test_settings