diff options
| -rw-r--r-- | gnu/packages/electronics.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index d1c1f4090ab..1e9502cfa49 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -2516,6 +2516,11 @@ for @acronym{EDA, elecronic design automation} and chip design."))) (lambda* (#:key tests? #:allow-other-keys) ;; Run the tests as specified in pyproject.toml. (when tests? + (substitute* "pyproject.toml" + ;; Fix failing test + (("TESTSRC=\\{package\\} ") + "")) + (setenv "TESTSRC" ".") (invoke "python" #$(plain-file "python-klayout-test-runner.py" "import tomllib, subprocess |
