pypy: test sqlite3 and verify the module

This commit is contained in:
Domen Kožar 2014-08-27 11:18:59 +02:00
parent 005f78e739
commit df30066790

View file

@ -67,9 +67,8 @@ let
# disable socket because it has two actual network tests that fail
# disable test_mhlib because it fails for unknown reason
# disable test_multiprocessing due to transient errors
# disable sqlite3 due to https://bugs.pypy.org/issue1740
# disable test_os because test_urandom_failure fails
./pypy-c ./pypy/test_all.py --pypy=./pypy-c -k '-test_sqlite -test_socket -test_os -test_shutil -test_mhlib -test_multiprocessing' lib-python
./pypy-c ./pypy/test_all.py --pypy=./pypy-c -k '-test_socket -test_os -test_shutil -test_mhlib -test_multiprocessing' lib-python
'';
installPhase = ''
@ -84,7 +83,7 @@ let
ln -s $out/pypy-c/lib-python/${pythonVersion} $out/lib/${libPrefix}
# verify cffi modules
$out/bin/pypy -c "import Tkinter"
$out/bin/pypy -c "import Tkinter;import sqlite3"
# TODO: compile python files?
'';