diff options
Diffstat (limited to 'gnu/tests/package-management.scm')
-rw-r--r-- | gnu/tests/package-management.scm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gnu/tests/package-management.scm b/gnu/tests/package-management.scm index 087eaf923e..fe897944d0 100644 --- a/gnu/tests/package-management.scm +++ b/gnu/tests/package-management.scm @@ -60,9 +60,7 @@ (define marionette (make-marionette (list #$vm))) - (mkdir #$output) - (chdir #$output) - + (test-runner-current (system-test-runner #$output)) (test-begin #$name) ;; XXX: Shepherd reads the config file *before* binding its control @@ -105,9 +103,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)) |