task_python_vta.sh 467 Bytes
Newer Older
1 2 3 4
#!/bin/bash

export PYTHONPATH=python:nnvm/python:vta/python:topi/python

5 6 7
rm -rf python/tvm/*.pyc python/tvm/*/*.pyc python/tvm/*/*/*.pyc python/tvm/*/*/*/*.pyc
rm -rf ~/.tvm

8 9 10 11 12 13 14
echo "Running unittest..."
python -m nose -v vta/tests/python/unittest || exit -1
python3 -m nose -v vta/tests/python/unittest || exit -1

echo "Running integration test..."
python -m nose -v vta/tests/python/integration || exit -1
python3 -m nose -v vta/tests/python/integration || exit -1