jgart pushed a commit to branch master
in repository guix.

commit 1c21ecff8c69f247491673b8a762ef39a418af38
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Sep 24 12:25:48 2023 +0200

    gnu: python-django-4.2: Add --failfast to test-flags.
    
    * gnu/packages/django.scm (python-django-4.2): Add --failfast to test-flags.
    
    Signed-off-by: jgart <[email protected]>
---
 gnu/packages/django.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 0e85860176..a6ef52870e 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -70,7 +70,9 @@
        (list
         ;; By default tests run in parallel, which may cause various race
         ;; conditions.  Run sequentially for consistent results.
-        "--parallel=1")
+        "--parallel=1"
+        ;; The test suite fails as soon as a single test fails.
+        "--failfast")
        #:phases
        (modify-phases %standard-phases
          (add-before 'check 'pre-check

Reply via email to