aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/rust.scm
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/packages/rust.scm
parent1cfcb841eddbe6b2bfed6dfaad6bcebff66e7a16 (diff)
downloadpatches-4a90fcf9e7a71a1672d9aa86f367f07ad297f899.tar
patches-4a90fcf9e7a71a1672d9aa86f367f07ad297f899.tar.gz
gnu: mrustc: Enable tests.
* gnu/packages/rust.scm (mrustc)[arguments]: Add #:test-target. <#:phases>[install]: Don't install test output.
Diffstat (limited to 'gnu/packages/rust.scm')
-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)