diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2024-10-19 12:00:40 +0200 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-10-20 22:02:16 +0800 |
commit | 3477c1942ba041ff0cd091d0b5884ae78eafcc58 (patch) | |
tree | ce100f99de41e08c66a9677384cca674a84c6a5f /gnu | |
parent | d16498fd530d439c65e2da02b7bc6594f8db6c48 (diff) |
gnu: timescaledb: Ignore failing tests.
* gnu/packages/databases.scm (timescaledb):
[arguments]<#:phases>: Add phase 'patch-failing-tests.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/databases.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index df346893b8..13d20de41c 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1487,6 +1487,30 @@ pictures, sounds, or video.") "-o" (string-append "-k " pg-data) "-l" (string-append pg-data "/db.log") "start")))) + #$@(cond + ((string=? "x86-64-linux" (%current-system)) + #~()) + ((member (%current-system) + (list "aarch64-linux" "i686-linux")) + #~((add-after 'unpack 'skip-failing-tests + (lambda _ + (substitute* "test/sql/CMakeLists.txt" + (((string-append + "(" + (string-join + '(" append\\.sql\\.in" + " chunk_adaptative\\.sql" + " histogram_test\\.sql\\.in") + "|") + ")") + all) + (string-append "#" all))))))) + (else + #~((add-after 'unpack 'skip-failing-tests + (lambda _ + (substitute* "test/sql/CMakeLists.txt" + (("histogram_test\\.sql\\.in") + "#histogram_test.sql.in"))))))) (add-after 'prepare-tests 'check (assoc-ref %standard-phases 'check))))) (inputs (list openssl postgresql)) |