guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72817] [PATCH 2/3] gnu: xa: Enable tests.


From: Z572
Subject: [bug#72817] [PATCH 2/3] gnu: xa: Enable tests.
Date: Wed, 28 Aug 2024 11:10:10 +0800

"Artyom V. Poptsov" <poptsov.artyom@gmail.com> writes:

> * gnu/packages/assembly.scm (xa) [arguments]: Enable tests.
>
> Change-Id: I1866b367fc58542d5c2ae90b82f89b218c0ffa1f
> ---
>  gnu/packages/assembly.scm | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm
> index 53106a0d74..e7bc9e1fef 100644
> --- a/gnu/packages/assembly.scm
> +++ b/gnu/packages/assembly.scm
> @@ -470,10 +470,12 @@ (define-public xa
>      (build-system gnu-build-system)
>      (arguments
>       (list
> -      #:tests? #f           ; TODO: custom test harness, not sure how it 
> works
>        #:phases
>        #~(modify-phases %standard-phases
> -          (delete 'configure))          ; no "configure" script
> +          (delete 'configure)          ; no "configure" script
> +          (replace 'check
> +            (lambda _
> +              (invoke "make" "test"))))

just use #:test-target.

>        #:make-flags
>        #~(list (string-append "DESTDIR=" #$output)))) ; no $prefix support
>      (native-inputs (list perl))

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]