aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-13 02:02:17 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-13 02:03:17 +0200
commitff3554d529016ce06f45ee5320b6ae16d96a7142 (patch)
treefaf45c79c288f6f5536f78edcf30c7e54f343849 /testing
parentf1119f039453b5ce6fa03ea7d1b8b13e04db2633 (diff)
downloadaports-ff3554d529016ce06f45ee5320b6ae16d96a7142.tar.bz2
aports-ff3554d529016ce06f45ee5320b6ae16d96a7142.tar.xz
testing/cargo: run all tests, but still ignore failures
Diffstat (limited to 'testing')
-rw-r--r--testing/cargo/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/testing/cargo/APKBUILD b/testing/cargo/APKBUILD
index 284f7feb1f..dd1a3a4d24 100644
--- a/testing/cargo/APKBUILD
+++ b/testing/cargo/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.17.0
_bootstrap_gitrev=6e0c18cccc8b0c06fba8a8d76486f81a792fb420 # 0.16.0
# Git revision of rust-installer (submodule in cargo repo).
_installer_gitrev=4f994850808a572e2cc8d43f968893c8e942e9bf
-pkgrel=0
+pkgrel=1
pkgdesc="The Rust package manager"
url="https://crates.io"
arch="x86_64" # limited by rust pkg
@@ -57,10 +57,13 @@ check() {
./target/$_ctarget/release/cargo --version
# XXX: ignore test failures for now
- CARGO_HOME="$srcdir/.cargo" \
- CFG_DISABLE_CROSS_TESTS=1 \
+ CFG_DISABLE_CROSS_TESTS=1 \
RUSTFLAGS="-C target-feature=-crt-static" \
- "$_bootstrap_cargo" test --release --target "$_ctarget" || true
+ "$_bootstrap_cargo" test \
+ --release \
+ --target "$_ctarget" \
+ --no-fail-fast \
+ --verbose || true
}
package() {