diff options
author | Zheng Junjie <z572@z572.online> | 2025-03-03 12:06:33 +0800 |
---|---|---|
committer | Zheng Junjie <z572@z572.online> | 2025-03-05 11:38:18 +0800 |
commit | 63c7a38f68eef7eba11778504dec9f75c78f99c8 (patch) | |
tree | 0c56f94d432cc4bd8b2bf64bde427b6633ab753e | |
parent | eac939f2d35720434c3929fd1595054673dc59c6 (diff) |
gnu: esbuild: Fix test on riscv64-linux.
* gnu/packages/web.scm (esbuild)[arguments]<#:test-flags>: When target
riscv64-linux, Use -short.
Change-Id: I82a627820d4555260506393c3fcebebc87ecd5c3
-rw-r--r-- | gnu/packages/web.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 7d6bc0b069..10c6cd5354 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -2068,7 +2068,10 @@ UTS#46.") (list #:import-path "github.com/evanw/esbuild/cmd/esbuild" #:unpack-path "github.com/evanw/esbuild" - #:test-flags #~(list #$(if (target-64bit?) "-race" "-short")) + #:test-flags #~(list #$(if (and (target-64bit?) + ;; The -race option is not supported on riscv64 + (not (target-riscv64?))) + "-race" "-short")) ;; Test subdirectories are compiled from #:import-path. #:test-subdirs #~(list "../../internal/..." "../../pkg/..." ))) (inputs |