guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: ruby-activesupport: Skip a failing test on i686-linux.


From: guix-commits
Subject: 01/04: gnu: ruby-activesupport: Skip a failing test on i686-linux.
Date: Fri, 31 Mar 2023 10:58:41 -0400 (EDT)

apteryx pushed a commit to branch staging
in repository guix.

commit 9eafe47e39e8f1a30fd4cd96beba024f4c67bdf5
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Mar 31 08:35:01 2023 -0400

    gnu: ruby-activesupport: Skip a failing test on i686-linux.
    
    * gnu/packages/rails.scm (ruby-activesupport)
    [arguments]: Skip the test_iso8601_output_and_reparsing test when building 
for
    i686-linux.
---
 gnu/packages/rails.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index c830620b82..b1abb65a6d 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -81,6 +81,12 @@
                  "")
                 ((".*behaviors/encoded_key_cache_behavior.*")
                  ""))
+              (when #$(target-x86-32?)
+                ;; This test fails on i686 (see:
+                ;; https://github.com/rails/rails/issues/47832).
+                (substitute* "test/core_ext/duration_test.rb"
+                  (("def test_iso8601_output_and_reparsing.*" all)
+                   (string-append all "    skip('fails on i686')\n"))))
               (delete-file "test/evented_file_update_checker_test.rb")
               ;; These tests require cache_store_behavior, disabled above.
               (delete-file "test/cache/stores/file_store_test.rb")



reply via email to

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