[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: mrustc: Enable tests.
From: |
Danny Milosavljevic |
Subject: |
01/02: gnu: mrustc: Enable tests. |
Date: |
Wed, 19 Sep 2018 08:41:10 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit 4a90fcf9e7a71a1672d9aa86f367f07ad297f899
Author: Danny Milosavljevic <address@hidden>
Date: Wed Sep 19 12:18:26 2018 +0200
gnu: mrustc: Enable tests.
* gnu/packages/rust.scm (mrustc)[arguments]: Add #:test-target.
<#:phases>[install]: Don't install test output.
---
gnu/packages/rust.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index c40a47c..e1c32db 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -200,7 +200,7 @@ in turn be used to build the final Rust.")
("rustc"
,(rust-source "1.19.0"
"0l8c14qsf42rmkqy92ahij4vf356dbyspxcips1aswpvad81y8qm"))))
(arguments
- `(#:tests? #f
+ `(#:test-target "local_tests"
#:make-flags (list (string-append "LLVM_CONFIG="
(assoc-ref %build-inputs "llvm")
"/bin/llvm-config"))
@@ -250,6 +250,7 @@ in turn be used to build the final Rust.")
(gcc (assoc-ref inputs "gcc")))
;; These files are not reproducible.
(for-each delete-file (find-files "output" "\\.txt$"))
+ (delete-file-recursively "output/local_tests")
(mkdir-p lib)
(copy-recursively "output" lib/rust)
(mkdir-p bin)