mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
pypy: test sqlite3 and verify the module
This commit is contained in:
parent
005f78e739
commit
df30066790
@ -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?
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user