Add a simple test runner to run tests for myself locally against Python2/3

Change-Id: I1303c79fd2f0097b8435e8505cbecda1b2bb958d
This commit is contained in:
R. Tyler Ballance 2010-04-10 14:45:24 -07:00
parent d9b087d872
commit b8204ae573
1 changed files with 3 additions and 0 deletions

3
runtests.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
python setup.py build && PYTHONPATH=.:build/lib.linux-x86_64-2.6 python tests/unit.py && zcat test_data/issue_11.gz| PYTHONPATH=build/lib.linux-x86_64-2.6 ./tests/issue_11.py && python3 setup.py build && PYTHONPATH=build/lib.linux-x86_64-3.1 python3 tests/unit.py