diff options
author | Rich Li | 2016-05-02 22:19:53 -0700 |
---|---|---|
committer | Rich Li | 2016-05-02 22:19:53 -0700 |
commit | 628d3c22628d2f1c45a1b4d38a1cde8ac4a155a0 (patch) | |
tree | e3496a7c6d3d062711e7f3f989743d9ed870a75f /PKGBUILD | |
parent | 8acfde29b38c2c95bfb0ab1454909454dee52fa0 (diff) | |
download | aur-628d3c22628d2f1c45a1b4d38a1cde8ac4a155a0.tar.gz |
Check the test suite
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -19,17 +19,10 @@ build() { python2 setup.py build --with-cython } -# pyvenv is python 3.4 only, so this has to be updated for python 2.7 -# check() { -# cd "$srcdir/cyordereddict-$pkgver" -# -# # We use pyvenv to create a virtual environment where the package will be installed, then we can test it. Note that we symlink to the system site-packages so we have (read-only) access to nosetests. -# pyvenv arch_test --system-site-packages -# _venv_python="arch_test/bin/python" -# -# ${_venv_python} setup.py install -# ${_venv_python} $(which nosetests) cyordereddict ./python3/cyordereddict/test -# } +check() { + cd "$srcdir/cyordereddict-$pkgver/build/lib.linux-${CARCH}-2.7" + nosetests2 +} package() { cd "$srcdir/cyordereddict-$pkgver" |