#!/bin/bash

cd /tmp

PYNLPL_PY2_PATH=`python2 -c "import pynlpl; print(pynlpl.__path__[0])"`
PYNLPL_PY3_PATH=`python3 -c "import pynlpl; print(pynlpl.__path__[0])"`

echo "Testing Python 2...."
. $PYNLPL_PY2_PATH/tests/test.sh python $PYNLPL_PY2_PATH/tests
echo "Testing Python 3...."
. $PYNLPL_PY3_PATH/tests/test.sh python3 $PYNLPL_PY3_PATH/tests

