gnu: esbuild: Fix test on riscv64-linux.

* gnu/packages/web.scm (esbuild)[arguments]<#:test-flags>: When target
riscv64-linux, Use -short.

Change-Id: I82a627820d4555260506393c3fcebebc87ecd5c3
This commit is contained in:
Zheng Junjie 2025-03-03 12:06:33 +08:00
parent eac939f2d3
commit 63c7a38f68
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -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