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
This commit is contained in:
Efraim Flashner 2024-09-28 19:41:55 +03:00
parent 68edde635d
commit cdb7157300
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1529,7 +1529,15 @@ (define-public abseil-cpp
(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