Commit d7c774fc authored by Sigmanificient's avatar Sigmanificient
Browse files

python313Packages.dtschema: enable tests

parent f93c2ced
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@
  ruamel-yaml,
  setuptools-scm,
  libfdt,
  pytestCheckHook,
  dtc,
}:

buildPythonPackage rec {
@@ -31,11 +33,15 @@ buildPythonPackage rec {
    libfdt
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "dtschema" ];

  nativeCheckInputs = [
    pytestCheckHook
    dtc
  ];

  enabledTestPaths = [ "test/test-dt-validate.py" ];

  meta = {
    description = "Tooling for devicetree validation using YAML and jsonschema";
    homepage = "https://github.com/devicetree-org/dt-schema/";