gnu: mrustc: Enable tests.
* gnu/packages/rust.scm (mrustc)[arguments]: Add #:test-target. <#:phases>[install]: Don't install test output.
This commit is contained in:
parent
1cfcb841ed
commit
4a90fcf9e7
1 changed files with 2 additions and 1 deletions
|
@ -200,7 +200,7 @@ (define-public mrustc
|
||||||
("rustc"
|
("rustc"
|
||||||
,(rust-source "1.19.0" "0l8c14qsf42rmkqy92ahij4vf356dbyspxcips1aswpvad81y8qm"))))
|
,(rust-source "1.19.0" "0l8c14qsf42rmkqy92ahij4vf356dbyspxcips1aswpvad81y8qm"))))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
`(#:test-target "local_tests"
|
||||||
#:make-flags (list (string-append "LLVM_CONFIG="
|
#:make-flags (list (string-append "LLVM_CONFIG="
|
||||||
(assoc-ref %build-inputs "llvm")
|
(assoc-ref %build-inputs "llvm")
|
||||||
"/bin/llvm-config"))
|
"/bin/llvm-config"))
|
||||||
|
@ -250,6 +250,7 @@ (define-public mrustc
|
||||||
(gcc (assoc-ref inputs "gcc")))
|
(gcc (assoc-ref inputs "gcc")))
|
||||||
;; These files are not reproducible.
|
;; These files are not reproducible.
|
||||||
(for-each delete-file (find-files "output" "\\.txt$"))
|
(for-each delete-file (find-files "output" "\\.txt$"))
|
||||||
|
(delete-file-recursively "output/local_tests")
|
||||||
(mkdir-p lib)
|
(mkdir-p lib)
|
||||||
(copy-recursively "output" lib/rust)
|
(copy-recursively "output" lib/rust)
|
||||||
(mkdir-p bin)
|
(mkdir-p bin)
|
||||||
|
|
Loading…
Reference in a new issue