summary refs log tree commit diff
path: root/gnu/tests/package-management.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/tests/package-management.scm')
-rw-r--r--gnu/tests/package-management.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/tests/package-management.scm b/gnu/tests/package-management.scm
index 087eaf923e..7033f040dd 100644
--- a/gnu/tests/package-management.scm
+++ b/gnu/tests/package-management.scm
@@ -63,6 +63,7 @@
           (mkdir #$output)
           (chdir #$output)
 
+          (test-runner-current (system-test-runner))
           (test-begin #$name)
 
           ;; XXX: Shepherd reads the config file *before* binding its control
@@ -105,9 +106,7 @@ derivation {
                                 "guix-test.nix")))
              marionette))
 
-	  (test-end)
-
-          (exit (= (test-runner-fail-count (test-runner-current)) 0)))))
+	  (test-end))))
 
   (gexp->derivation (string-append name "-test") test))