aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-09-19 12:18:26 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2018-09-19 14:41:01 +0200
commit4a90fcf9e7a71a1672d9aa86f367f07ad297f899 (patch)
tree6546b752b201096cb5c3c44096281255c51284ae /gnu
parent1cfcb841eddbe6b2bfed6dfaad6bcebff66e7a16 (diff)
downloadguix-4a90fcf9e7a71a1672d9aa86f367f07ad297f899.tar.gz
guix-4a90fcf9e7a71a1672d9aa86f367f07ad297f899.zip
gnu: mrustc: Enable tests.
* gnu/packages/rust.scm (mrustc)[arguments]: Add #:test-target. <#:phases>[install]: Don't install test output.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index c40a47c4d9..e1c32dbe10 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)