guix_mirror_bot pushed a commit to branch c++-team
in repository guix.

commit db34b8d36737db8a9cdc8f8196aa01e37ebf98f2
Author: Greg Hogan <c...@greghogan.com>
AuthorDate: Tue Oct 22 18:09:24 2024 +0000

    gnu: kconfig-5: Use #:test-exclude.
    
    * gnu/packages/kde-frameworks.scm (kconfig-5)[arguments]
    <#:test-exclude>: Move exclude regex here from 'check phase.
    <#:phases>: Move environment setup to 'pre-check and remove 'check
    phase.
    
    Change-Id: I923e18b0b1a89aa4ccdedb8f79b2efc5c9bdadf6
---
 gnu/packages/kde-frameworks.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 259272a937..0b75974698 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -804,15 +804,15 @@ propagate their changes to their respective configuration 
files.")
      (list qtdeclarative-5))
     (propagated-inputs '())
     (arguments
-     (list #:phases
+     (list #:test-exclude "(kconfigcore-kconfigtest|\
+kconfiggui-kstandardshortcutwatchertest)"
+           #:phases
            #~(modify-phases %standard-phases
-               (replace 'check
+               (add-before 'check 'pre-check
                  (lambda* (#:key tests? #:allow-other-keys)
                    (when tests? ;; kconfigcore-kconfigtest fails 
inconsistently!!
                      (setenv "HOME" (getcwd))
-                     (setenv "QT_QPA_PLATFORM" "offscreen")
-                     (invoke "ctest" "-E" "(kconfigcore-kconfigtest|\
-kconfiggui-kstandardshortcutwatchertest)")))))))))
+                     (setenv "QT_QPA_PLATFORM" "offscreen")))))))))
 
 (define-public kcoreaddons
   (package

Reply via email to