task_python_unittest.sh 408 Bytes
Newer Older
1 2
#!/bin/bash

3
export PYTHONPATH=python:topi/python
4

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

7 8 9 10 11 12
TVM_FFI=ctypes python -m nose -v tests/python/unittest || exit -1
TVM_FFI=ctypes python3 -m nose -v tests/python/unittest || exit -1
make cython || exit -1
make cython3 || exit -1
TVM_FFI=cython python -m nose -v tests/python/unittest || exit -1
TVM_FFI=cython python3 -m nose -v tests/python/unittest || exit -1