diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-09-28 19:41:55 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-09-29 10:06:54 +0300 |
commit | cdb715730061448f203ecc492a5c694bb1a6c7fc (patch) | |
tree | 3d62d2376a4840e1e198430147beac882a45ab93 | |
parent | 68edde635d7f60fb48b2b664e55118fdc3021a73 (diff) | |
download | guix-cdb715730061448f203ecc492a5c694bb1a6c7fc.tar guix-cdb715730061448f203ecc492a5c694bb1a6c7fc.tar.gz |
gnu: abseil-cpp: Skip 2 tests on riscv64-linux.
* gnu/packages/cpp.scm (abseil-cpp)[arguments]: When building for
riscv64-linux replace the 'check phase to skip 2 tests.
Change-Id: I92a35795dad1a00606954aae7515701ad402f243
-rw-r--r-- | gnu/packages/cpp.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index c0f81b0e2f..b4a02a2060 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1529,7 +1529,15 @@ Google's C++ code base.") (lambda* (#:key inputs #:allow-other-keys) ;; absl_time_test requires this environment variable. (setenv "TZDIR" (string-append #$(package-source base) - "/absl/time/internal/cctz/testdata/zoneinfo"))))))))))) + "/absl/time/internal/cctz/testdata/zoneinfo")))) + #$@(if (target-riscv64?) + #~((replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") + (invoke "ctest" "-E" + "absl_symbolize_test|absl_log_format_test"))))) + #~())))))))) (define (abseil-cpp-for-c++-standard base version) (hidden-package |