Merge pull request #187157 from trofi/drop-cvise-tests
cvise: drop tests broken by pytest-flake8 update
This commit is contained in:
commit
e3cbce4bf2
@ -1,6 +1,6 @@
|
||||
{ lib, buildPythonApplication, fetchFromGitHub, bash, cmake, flex
|
||||
, libclang, llvm, unifdef
|
||||
, chardet, pebble, psutil, pytestCheckHook, pytest-flake8
|
||||
, chardet, pebble, psutil
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
@ -22,7 +22,6 @@ buildPythonApplication rec {
|
||||
nativeBuildInputs = [ cmake flex llvm.dev ];
|
||||
buildInputs = [ bash libclang llvm llvm.dev unifdef ];
|
||||
propagatedBuildInputs = [ chardet pebble psutil ];
|
||||
checkInputs = [ pytestCheckHook pytest-flake8 unifdef ];
|
||||
|
||||
# 'cvise --command=...' generates a script with hardcoded shebang.
|
||||
postPatch = ''
|
||||
@ -30,14 +29,8 @@ buildPythonApplication rec {
|
||||
--replace "#!/bin/bash" "#!${bash}/bin/bash"
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
patchShebangs cvise.py
|
||||
'';
|
||||
disabledTests = [
|
||||
# Needs gcc, fails when run noninteractively (without tty).
|
||||
"test_simple_reduction"
|
||||
];
|
||||
|
||||
# pytest-flake8 is broken in nixpkgs: https://github.com/tholo/pytest-flake8/issues/87
|
||||
doCheck = false;
|
||||
dontUsePipInstall = true;
|
||||
dontUseSetuptoolsBuild = true;
|
||||
dontUseSetuptoolsCheck = true;
|
||||
|
Loading…
Reference in New Issue
Block a user