aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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