Message ID | 07f30d89c8eb9a40e48e4996e2c398f0f18e3ad3.1724669204.git.poptsov.artyom@gmail.com |
---|---|
State | New |
Headers | show |
Series | gnu: vice: Update to 3.8. | expand |
"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))
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")))) #:make-flags #~(list (string-append "DESTDIR=" #$output)))) ; no $prefix support (native-inputs (list perl))