boofuzz: fix build on darwin

Disable tests that need network access.
This commit is contained in:
Sebastián Mancilla 2022-07-10 00:13:31 -04:00
parent de5b3dd170
commit ed2b320176

View file

@ -37,9 +37,10 @@ python3.pkgs.buildPythonApplication rec {
]; ];
disabledTests = [ disabledTests = [
# Tests require socket access "TestNetworkMonitor"
"test_raw_l2" "TestNoResponseFailure"
"test_raw_l3" "TestProcessMonitor"
"TestSocketConnection"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [
@ -51,7 +52,5 @@ python3.pkgs.buildPythonApplication rec {
homepage = "https://github.com/jtpereyda/boofuzz"; homepage = "https://github.com/jtpereyda/boofuzz";
license = with licenses; [ gpl2Plus ]; license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
# FAILED unit_tests/test_monitors.py::TestProcessMonitor::test_set_options_persistent
broken = (stdenv.isDarwin && stdenv.isx86_64);
}; };
} }