unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 73692@debbugs.gnu.org
Cc: Nicolas Graves <ngraves@ngraves.fr>
Subject: [bug#73692] [PATCH v4 2/2] gnu: timescaledb: Ignore failing tests.
Date: Thu, 17 Oct 2024 06:37:51 +0200	[thread overview]
Message-ID: <20241017043753.6363-2-ngraves@ngraves.fr> (raw)
In-Reply-To: <20241017043753.6363-1-ngraves@ngraves.fr>

* gnu/packages/databases.scm (timescaledb):
[arguments]<#:phases>: Add phase 'patch-failing-tests.
---
 gnu/packages/databases.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 43ec0641a0..3331d9849a 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1502,6 +1502,25 @@ (define-public timescaledb
                              "-o" (string-append "-k " pg-data)
                              "-l" (string-append pg-data "/db.log")
                              "start"))))
+               #$@(if (target-x86-64?)
+                      #~()
+                      #~((add-after 'unpack 'skip-failing-tests
+                           (lambda _
+                             #$@(if (target-aarch64?)
+                                    #~((substitute* "test/sql/CMakeLists.txt"
+                                         (((string-append
+                                            "("
+                                            (string-join
+                                             '("append\\.sql\\.in"
+                                               "chunk_adaptative\\.sql"
+                                               "histogram_test\\.sql\\.in")
+                                             "|")
+                                            ")")
+                                           all)
+                                          (string-append "#" all))))
+                                    #~((substitute* "test/sql/CMakeLists.txt"
+                                         (("histogram_test\\.sql\\.in" all)
+                                          (string-append "#" all)))))))))
                (add-after 'prepare-tests 'check
                  (assoc-ref %standard-phases 'check)))))
     (inputs (list openssl postgresql))
-- 
2.46.0





  reply	other threads:[~2024-10-17  4:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-08  6:26 [bug#73692] [PATCH] gnu: timescaledb: Update to 2.16.1. [security fixes] Nicolas Graves via Guix-patches via
2024-10-16  5:12 ` [bug#73692] [PATCH v2] gnu: timescaledb: Ignore failing tests Nicolas Graves via Guix-patches via
2024-10-16 12:28   ` Z572
2024-10-16 17:19     ` Nicolas Graves via Guix-patches via
2024-10-16 23:24 ` [bug#73692] [PATCH v3 1/2] gnu: timescaledb: Update to 2.16.1. [security fixes] Nicolas Graves via Guix-patches via
2024-10-16 23:24   ` [bug#73692] [PATCH v3 2/2] gnu: timescaledb: Ignore failing tests Nicolas Graves via Guix-patches via
2024-10-17  4:37 ` [bug#73692] [PATCH v4 1/2] gnu: timescaledb: Update to 2.16.1. [security fixes] Nicolas Graves via Guix-patches via
2024-10-17  4:37   ` Nicolas Graves via Guix-patches via [this message]
2024-10-17  5:51 ` [bug#73692] [PATCH v5 " Nicolas Graves via Guix-patches via
2024-10-17  5:51   ` [bug#73692] [PATCH v5 2/2] gnu: timescaledb: Ignore failing tests Nicolas Graves via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241017043753.6363-2-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=73692@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).