guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#66001] [PATCH 2/4] gnu: ucsim: Disable tests.


From: Simon South
Subject: [bug#66001] [PATCH 2/4] gnu: ucsim: Disable tests.
Date: Fri, 15 Sep 2023 10:25:01 -0400

* gnu/packages/embedded.scm (ucsim)[arguments]: Add #:tests?.
[native-inputs]: Remove sdcc unconditionally.
---
 gnu/packages/embedded.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 12c92d0e30..80efe2363d 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -1527,15 +1527,14 @@ (define-public ucsim
           (add-after 'unpack 'patch-makefiles
             (lambda _
               (substitute* (find-files "." "(\\.mk$|\\.in$)")
-                (("/bin/sh") (which "sh"))))))))
+                (("/bin/sh") (which "sh"))))))
+      ;; μCsim's regression-test suite is of little use in this context since
+      ;; it doesn't stop or return an error code when it encounters a problem.
+      #:tests? #f))
     (inputs
      (list ncurses))
     (native-inputs
-     (append (list bison flex)
-             ;; Certain tests use assemblers provided by SDCC.
-             (if (not (%current-target-system))
-                 (list sdcc)
-                 '())))
+     (list bison flex))
     (home-page "http://mazsola.iit.uni-miskolc.hu/ucsim/";)
     (synopsis "Simulators for various microcontroller families")
     (description "μCsim is a collection of software simulators for
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]