python3Packages.datatable: reduce test suite to small subset
test suite is very cpu intensive
This commit is contained in:
parent
6d39611743
commit
eee9491238
1 changed files with 3 additions and 9 deletions
|
@ -44,15 +44,9 @@ buildPythonPackage rec {
|
|||
LLVM = llvm;
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-isystem ${lib.getDev libcxx}/include/c++/v1";
|
||||
|
||||
pytestFlagsArray = let
|
||||
# ini file (not included in tarball) required to change python_files setting,
|
||||
pytestIni = writeText "pytest.ini" ''
|
||||
[pytest]
|
||||
python_files = test_*.py test-*.py
|
||||
'';
|
||||
in [
|
||||
"-c ${pytestIni}"
|
||||
];
|
||||
# test suite is very cpu intensive, only run small subset to ensure package is working as expected
|
||||
pytestFlagsArray = [ "tests/test-sets.py" ];
|
||||
|
||||
disabledTests = [
|
||||
# skip tests which are irrelevant to our installation or use way too much memory
|
||||
"test_xfunction_paths"
|
||||
|
|
Loading…
Reference in a new issue